Re: [ansible-project] question about tags

2021-07-19 Thread Doug Hunley
I find https://docs.ansible.com/ansible/2.8/reference_appendices/special_variables.html to be a gold mine for these kinds of things. Just match it with whatever version of Ansible you're supporting. On Mon, Jul 19, 2021 at 3:56 PM John Petro wrote: > oh, that is cool. I didn't know about that

Re: [ansible-project] question about tags

2021-07-19 Thread John Petro
oh, that is cool. I didn't know about that one. Thanks, I will check it out. --John On Mon, Jul 19, 2021 at 3:48 PM Doug Hunley wrote: > You could inspect ansible_run_tags and see if those three tags are not in > it. > > On Mon, Jul 19, 2021 at 3:44 PM John Petro wrote: > >> I have a bit of

Re: [ansible-project] question about tags

2021-07-19 Thread Doug Hunley
You could inspect ansible_run_tags and see if those three tags are not in it. On Mon, Jul 19, 2021 at 3:44 PM John Petro wrote: > I have a bit of a problem, and was wondering if anyone has ever done > something like this. I have a playbook I am working on, where it updates > firewalld rules

[ansible-project] question about tags

2021-07-19 Thread John Petro
I have a bit of a problem, and was wondering if anyone has ever done something like this. I have a playbook I am working on, where it updates firewalld rules for some kubernetes clusters we have. Rather than have a playbook per cluster, we elected to use tags, one for prod, one for nonprod, and