Is there a way in an ansible-playbook run to only run those tasks that have all of the specified tags?
E.g., ansible-playbook myplaybook.yml --tags nginx AND config would only run tasks that have both nginx and config tags.
Is there a way in an ansible-playbook run to only run those tasks that have all of the specified tags?
E.g., ansible-playbook myplaybook.yml --tags nginx AND config would only run tasks that have both nginx and config tags.
no, not currently, there is a request to allow for tags expressions
that mirror host expressions but nothing has been done yet.