From 4318d1faee1cc0c3e9a79fa47fa96244906bda3a Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Thu, 6 Oct 2022 22:15:29 +0200 Subject: [PATCH] Add tags --- playbooks/tasks/services/deploy/01-service.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/playbooks/tasks/services/deploy/01-service.yml b/playbooks/tasks/services/deploy/01-service.yml index 17effbf..9186f52 100644 --- a/playbooks/tasks/services/deploy/01-service.yml +++ b/playbooks/tasks/services/deploy/01-service.yml @@ -1,6 +1,8 @@ -- import_tasks: service/00-vars.yml -- import_tasks: service/01-zfs-datasets.yml - when: is_zfs -- import_tasks: service/01-user.yml -- import_tasks: service/02-veth.yml -- import_tasks: service/03-pod.yml +- block: + - import_tasks: service/00-vars.yml + - import_tasks: service/01-zfs-datasets.yml + when: is_zfs + - import_tasks: service/01-user.yml + - import_tasks: service/02-veth.yml + - import_tasks: service/03-pod.yml + tags: "{{ service_name }}"