delegate locally

This commit is contained in:
Michael Collins 2021-08-24 18:20:26 +08:00
parent ef4b5a187d
commit a49da05cf9

View File

@ -12,6 +12,7 @@
dest: '/var/lib/awx/projects/hosting/delete_job_template.json'
- name: Re-create '00 - Cleanup Deletion Template' job template
delegate_to: 127.0.0.1
awx.awx.tower_job_template:
name: "00 - Cleanup Deletion Template"
description: "Deletes the remaining '<< SUBSCRIPTION DELETION IN PROGRESS >>' job template."
@ -28,6 +29,7 @@
validate_certs: yes
- name: Launch '00 - Cleanup Deletion Template' job template before ending
delegate_to: 127.0.0.1
awx.awx.tower_job_launch:
job_template: "00 - Cleanup Deletion Template"
tower_host: "https://{{ tower_host }}"