Chapter 11: Ansible Introduction
11.9c Tags — run part of a playbook
- name: Deploy welcome index
tags: [content]
ansible.builtin.copy:
...
ansible-playbook ... --tags content
ansible-playbook ... --skip-tags content
Helpful when you only want to refresh HTML without re-checking the package every time.
Ravindra Bagale's Tip
Production-like host var --check shivay apply — risky. Lab VM asel tari habit lavun ghya. Dhyan rakho!