missing one template from deletion section

This commit is contained in:
Michael Collins
2021-08-24 18:35:00 +08:00
parent a49da05cf9
commit c6f8bc5d83
2 changed files with 16 additions and 3 deletions

View File

@@ -293,3 +293,16 @@
tower_oauthtoken: "{{ tower_token.stdout }}"
validate_certs: yes
when: matrix_domain is defined
- name: Remove 'Purge Database (Advanced)' job template
delegate_to: 127.0.0.1
awx.awx.tower_job_template:
name: "{{ matrix_domain }} - 2 - Purge Database (Advanced)"
job_type: run
project: "{{ member_id }} - Matrix Docker Ansible Deploy"
playbook: setup.yml
state: absent
tower_host: "https://{{ tower_host }}"
tower_oauthtoken: "{{ tower_token.stdout }}"
validate_certs: yes
when: matrix_domain is defined