Fix tags to limit even the reference to roles/playbooks

The previous setting of tags still let ansible gather facts for the
roles in question, even though they're not executed. This fix prevent
this from happening.
This commit is contained in:
2025-09-22 02:52:55 +02:00
parent af5feca667
commit f1856f59aa

View File

@@ -2,15 +2,15 @@
gather_facts: no gather_facts: no
roles: roles:
- role: server-setup - role: server-setup
tags: tags:
- init - init
- add-server - add-server
- hosts: agent - hosts: agent
roles: roles:
- role: agent-setup - role: agent-setup
tags: tags:
- init - init
- add-agent - add-agent
- import_playbook: k3s.orchestration.site - import_playbook: k3s.orchestration.site
tags: tags:
- init - init
@@ -22,13 +22,13 @@
- hosts: server[0] - hosts: server[0]
roles: roles:
- role: kube-config - role: kube-config
tags: tags:
- init - init
- config - config
- update - update
- hosts: localhost - hosts: localhost
roles: roles:
- role: k8s-setup - role: k8s-setup
tags: tags:
- init - init
- k8s - k8s