From 339b3e0231d0a32bdafd0f1660f79d275e9defe8 Mon Sep 17 00:00:00 2001 From: David Kirwan Date: Thu, 24 Oct 2024 14:01:26 +0100 Subject: [PATCH] communishift: fix task syntax Signed-off-by: David Kirwan --- roles/communishift/tasks/send-tenant-deletion-notifications.yml | 2 +- roles/communishift/tasks/start-tenant-project-cleanup.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/communishift/tasks/send-tenant-deletion-notifications.yml b/roles/communishift/tasks/send-tenant-deletion-notifications.yml index 7670c54654..7a87ebc97a 100644 --- a/roles/communishift/tasks/send-tenant-deletion-notifications.yml +++ b/roles/communishift/tasks/send-tenant-deletion-notifications.yml @@ -14,7 +14,7 @@ - Reply-To=admin@fedoraproject.org charset: us-ascii delegate_to: localhost - when: {{ not item.value.do_not_delete | bool }} + when: "{{ not item.value.do_not_delete | bool }}" tags: - communishift_send_notifications - never # Only send notifications when the tag communishift_send_notifications is passed diff --git a/roles/communishift/tasks/start-tenant-project-cleanup.yml b/roles/communishift/tasks/start-tenant-project-cleanup.yml index a017c55bc2..4a517da53b 100644 --- a/roles/communishift/tasks/start-tenant-project-cleanup.yml +++ b/roles/communishift/tasks/start-tenant-project-cleanup.yml @@ -2,7 +2,7 @@ - name: "Offboard the Communishift tenant project: {{ item.value.name }}" debug: msg: "delete task for project: {{ item.value.name }}" - when: {{ not item.value.do_not_delete | bool }} + when: "{{ not item.value.do_not_delete | bool }}" tags: - communishift_cluster_cleanup - never # Only run this task when the communishift_cluster_cleanup tag is called