Answers for "ansible execute by tags"

0

ansible execute by tags

# Execute task with mytag1 AND mytag2
ansible-playbook myplay.yaml --tags "mytag1,mytag2"

# Execute a task with mytag1 OR mytag2
ansible-playbook myplay.yaml --tags [mytag1,mytag2]
Posted by: Guest on April-07-2022

Browse Popular Code Answers by Language