## Tags Filter tasks using tags: ```yaml tasks: - name: Restart service service: name: apache2 state: restarted tags: - service - restart # Run with specific tags: # ansible-playbook site.yml --tags "service" ```