From 7b9929e17b623f1dd5e52d70a2aa6e970a67b256 Mon Sep 17 00:00:00 2001 From: Michael Collins Date: Thu, 19 Aug 2021 16:55:58 +0800 Subject: [PATCH] add << SUBSCRIPTION DELETION IN PROGRESS >> job template --- roles/matrix-awx/tasks/delete_awx_templates.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/roles/matrix-awx/tasks/delete_awx_templates.yml b/roles/matrix-awx/tasks/delete_awx_templates.yml index 11784dacc..649db5a37 100755 --- a/roles/matrix-awx/tasks/delete_awx_templates.yml +++ b/roles/matrix-awx/tasks/delete_awx_templates.yml @@ -272,9 +272,9 @@ validate_certs: yes when: matrix_domain is defined -- name: Remove 'Purge Database (Advanced)' job template +- name: Remove '<< SUBSCRIPTION DELETION IN PROGRESS >>' job template awx.awx.tower_job_template: - name: "{{ matrix_domain }} - 2 - Purge Database (Advanced)" + name: "0 - {{ subscription_id }} - << SUBSCRIPTION DELETION IN PROGRESS >>" job_type: run project: "{{ member_id }} - Matrix Docker Ansible Deploy" playbook: setup.yml @@ -282,8 +282,7 @@ tower_host: "https://{{ tower_host }}" tower_oauthtoken: "{{ tower_token.stdout }}" validate_certs: yes - when: matrix_domain is defined - + - name: Remove Matrix server from organisations inventory awx.awx.tower_host: name: "matrix.{{ matrix_domain }}"