From d6f0630c8c19efe1db2cfa8abb088f8a2f555e14 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Fri, 8 Sep 2023 13:01:40 +0200 Subject: [PATCH] Properly apply tags for include_tasks Change-Id: I5307fe00a8cf875b622f8b077242596648d52182 --- tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 4fdea57..a2e70b3 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -69,6 +69,10 @@ - name: Including lxc_container_create tasks include_tasks: lxc_container_create.yml + args: + apply: + tags: + - lxc-create when: - physical_host != inventory_hostname tags: @@ -76,6 +80,10 @@ - name: Including lxc_container_config tasks include_tasks: lxc_container_config.yml + args: + apply: + tags: + - lxc-config when: - physical_host != inventory_hostname tags: