From 69534d4c59180a74802b9c908f3c074473970cc8 Mon Sep 17 00:00:00 2001 From: Varac <varac@varac.net> Date: Tue, 1 Oct 2019 15:52:55 +0200 Subject: [PATCH] Tag all playbooks in apps role with helmfile --- ansible/roles/apps/tasks/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ansible/roles/apps/tasks/main.yml b/ansible/roles/apps/tasks/main.yml index 2cc9ebe3f..2c1afae58 100644 --- a/ansible/roles/apps/tasks/main.yml +++ b/ansible/roles/apps/tasks/main.yml @@ -1,23 +1,29 @@ --- - name: Import tasks from init.yml import_tasks: init.yml + tags: [ helmfile ] - name: Install local-storage import_tasks: local-storage.yml + tags: [ helmfile ] when: '"00-storage" in helmfiles' - name: Install cert-manager import_tasks: cert-manager.yml + tags: [ helmfile ] when: '"05-cert-manager" in helmfiles' - name: Install nginx import_tasks: nginx.yml + tags: [ helmfile ] when: '"10-nginx" in helmfiles' - name: Install prometheus import_tasks: prometheus.yml + tags: [ helmfile ] when: '"15-monitoring" in helmfiles' - name: Install nextcloud import_tasks: nextcloud.yml - when: '"20-nextcloud.yaml" in helmfiles' + tags: [ helmfile ] + when: '"20-nextcloud" in helmfiles' -- GitLab