Skip to content

Allow manually overriding host ignores at runtime from the CLI - #555

Open
sysvinit wants to merge 1 commit into
mainfrom
sysvinit/deploy-cli-ignore
Open

Allow manually overriding host ignores at runtime from the CLI#555
sysvinit wants to merge 1 commit into
mainfrom
sysvinit/deploy-cli-ignore

Conversation

@sysvinit

Copy link
Copy Markdown
Member

This change adds a -I option to batou deploy, which allows specifying a comma separated list of hosts which should be ignored when deploying, as if the host had ignore=True in the environment configuration file.

I often run into situations where for operational reasons I'd like to roll out changes to the hosts in a given environment one at a time over several batou runs – the prime example being working on site routers, where inadvertent bad configs causing outages are a real risk. A CLI flag for this function avoids needing to repeatedly edit the environment file to adjust and swap around ignore settings.

Fixes #530.

@sysvinit
sysvinit requested a review from zagy as a code owner August 19, 2026 13:05
@sysvinit
sysvinit force-pushed the sysvinit/deploy-cli-ignore branch from f7ce967 to 0413ef5 Compare August 24, 2026 12:14
@zagy
zagy requested a review from ctheune August 24, 2026 12:14
@zagy

zagy commented Aug 24, 2026

Copy link
Copy Markdown
Member

I'd like @ctheune to review this as originally it was very intentional that deployment repository really matches what we see deployed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow "ignore=True" to be set via CLI override flag in "batou deploy"

2 participants