In this video we discussed about ansible tags with examples and special tags and how to run playbook with and without tags and special tags.
https://github.com/bcreddydevops/Ansi...
In Ansible, tags allow you to selectively run or skip specific tasks within a playbook.
You can assign tags to tasks, and then when running a playbook, you can specify which tags to include or exclude. Ansible provides two special tags, always and never, for precise control over task execution.
Running Tasks by Tag:
ansible-playbook playbook.yml --tags web
Excluding Tasks by Tag:
ansible-playbook playbook.yml --skip-tags db