From f1856f59aa04eb2de11c92012a364943fc3125aa Mon Sep 17 00:00:00 2001 From: Felix Nehrke Date: Mon, 22 Sep 2025 02:52:55 +0200 Subject: [PATCH] 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. --- site.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/site.yml b/site.yml index b5e2035..e847d55 100644 --- a/site.yml +++ b/site.yml @@ -2,15 +2,15 @@ gather_facts: no roles: - role: server-setup - tags: - - init - - add-server + tags: + - init + - add-server - hosts: agent roles: - role: agent-setup - tags: - - init - - add-agent + tags: + - init + - add-agent - import_playbook: k3s.orchestration.site tags: - init @@ -22,13 +22,13 @@ - hosts: server[0] roles: - role: kube-config - tags: - - init - - config - - update + tags: + - init + - config + - update - hosts: localhost roles: - role: k8s-setup - tags: - - init - - k8s + tags: + - init + - k8s