Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag all the plays #573

Open
dknueppe opened this issue Jul 23, 2024 · 0 comments
Open

Tag all the plays #573

dknueppe opened this issue Jul 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dknueppe
Copy link

Ansible supports tagging plays.
If we applied tags on each play, it would be easier to compose your plays on the command line, thus eliminating the need to change the playbooks if you want to skip a play, or only apply a specific set of plays.

for example I could tag the play which deploys the snmp stuff with "service, snmp"

then later I can exclude snmp by invoking the ansible playbook with "--skip-tags snmp" and thus avoid it being deployed.

Or I may choose to update all the services by invoking with "--tags service"

This might also be a good way to deal with "standalone / cluster" plays.

What needs to happen:
Someone has to define useful tags, and then go and tag the plays accordingly.

@dknueppe dknueppe added the enhancement New feature or request label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant