delegate delete tasks locally

This commit is contained in:
Michael Collins
2021-08-20 09:35:12 +08:00
parent 312bcc444b
commit 14effd5e2b
4 changed files with 40 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
- name: Delete the servers directory on AWX
delegate_to: 127.0.0.1
file:
path: '/var/lib/awx/projects/clients/{{ member_id }}/{{ subscription_id }}/'
state: absent