Properly apply tags for include_tasks

Change-Id: I5307fe00a8cf875b622f8b077242596648d52182
This commit is contained in:
Dmitriy Rabotyagov 2023-09-08 13:01:40 +02:00
parent 3cdcb1115f
commit d6f0630c8c
1 changed files with 8 additions and 0 deletions

View File

@ -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: