Oct 7, 2020 in Ansible
Q:

Can you please explain what are tags in Ansible?

1 Answer

0 votes
Oct 7, 2020

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.

Click here to read more about Ansible
Click here to read more about Insurance

Related questions

0 votes
Oct 7, 2020 in Ansible
...