Run ansible by tag only
Run playbook ansible by certain tag only, so the rest of task will be skipped ansible-playbook –tags mytag
Run playbook ansible by certain tag only, so the rest of task will be skipped ansible-playbook –tags mytag
It’s so hard for me to memorize all of these things, so I will write it down, like this ansible command ansible-playbook -i hosts.ini playbook/yourplaybook/create.yml