From 7f110e01df66fa5333f78af4ecb8741ca4f9cb2c Mon Sep 17 00:00:00 2001 From: David Kirwan Date: Thu, 24 Oct 2024 15:32:31 +0100 Subject: [PATCH] communishift: wip debugging notifcation system cleanup --- playbooks/manual/communishift_cleanup.yml | 7 +++++++ .../tasks/send-tenant-deletion-notifications.yml | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/playbooks/manual/communishift_cleanup.yml b/playbooks/manual/communishift_cleanup.yml index b2c84d6f48..7cc2c0a7d5 100644 --- a/playbooks/manual/communishift_cleanup.yml +++ b/playbooks/manual/communishift_cleanup.yml @@ -15,6 +15,9 @@ with_items: "{{ communishift_package_list }}" loop_control: loop_var: communishift_package + apply: + tags: + - deploy-operators - name: Communishift Cluster Cleanup Tasks with_items: "{{ communishift_projects }}" @@ -22,6 +25,10 @@ name: communishift tasks_from: cleanup-administration-tasks loop: "{{ lookup('dict', communishift_projects) }}" + apply: + tags: + - deploy-operators + vars: communishift_package_list: - kubernetes diff --git a/roles/communishift/tasks/send-tenant-deletion-notifications.yml b/roles/communishift/tasks/send-tenant-deletion-notifications.yml index 7a87ebc97a..3d839d7701 100644 --- a/roles/communishift/tasks/send-tenant-deletion-notifications.yml +++ b/roles/communishift/tasks/send-tenant-deletion-notifications.yml @@ -1,4 +1,8 @@ --- +- name: Debug + debug: + msg: "{{ item }}" + - name: Send Communishift Project Cleanup notifications emails to tenants community.general.mail: host: localhost