file-removal-test.yml fixes

This commit is contained in:
2022-05-03 12:12:55 -04:00
parent ccf17c7740
commit a1201aa9f1

View File

@ -5,6 +5,10 @@
become: no
vars_files:
- vars/defaults.yml
vars:
provision_host: "{{ tower_provision_host | default(ansible_play_hosts | random) }}"
@ -31,10 +35,10 @@
tasks:
- name: "Remove file from {{ inventory_hostname }}"
file:
path : "{{ check_file }}"
state : absent
- name: "Remove file from {{ inventory_hostname }}"
file:
path : "{{ check_file }}"
state : absent
...