file-removal-test.yml fixes
This commit is contained in:
@ -5,6 +5,10 @@
|
|||||||
become: no
|
become: no
|
||||||
|
|
||||||
|
|
||||||
|
vars_files:
|
||||||
|
- vars/defaults.yml
|
||||||
|
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
provision_host: "{{ tower_provision_host | default(ansible_play_hosts | random) }}"
|
provision_host: "{{ tower_provision_host | default(ansible_play_hosts | random) }}"
|
||||||
|
|
||||||
@ -31,10 +35,10 @@
|
|||||||
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: "Remove file from {{ inventory_hostname }}"
|
- name: "Remove file from {{ inventory_hostname }}"
|
||||||
file:
|
file:
|
||||||
path : "{{ check_file }}"
|
path : "{{ check_file }}"
|
||||||
state : absent
|
state : absent
|
||||||
|
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Reference in New Issue
Block a user