0 votes
in Ansible by

Can you please explain what are tags in Ansible?

1 Answer

0 votes
by

When there is a large Ansible playbook, and you want to execute a part of it, it is possible using tags. Tags can be used on different structures in Ansible, but the most basic use of tags is with individual tasks. Tags can be applied to multiple tasks. This is done by using the –tags in the command line option. So all the tasks having this tag will get executed.

Related questions

0 votes
asked Oct 7, 2020 in Ansible by Robindeniel
0 votes
asked Feb 12, 2020 in Ansible by miceperry
0 votes
asked Oct 7, 2020 in Ansible by Robindeniel
...