variablize the playbooks a bit
This commit is contained in:
@ -26,10 +26,14 @@
|
||||
become: no
|
||||
|
||||
|
||||
vars_files:
|
||||
- vars/defaults.yml
|
||||
|
||||
|
||||
tasks:
|
||||
- name: "Remove file from {{ inventory_hostname }}"
|
||||
file:
|
||||
path : /tmp/hello-ansible.txt
|
||||
path : "{{ check_file }}"
|
||||
state : absent
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user