variablize the playbooks a bit

This commit is contained in:
Chris Hammer
2022-02-23 19:03:06 -05:00
parent 071f5e5891
commit aee286f450
6 changed files with 96 additions and 24 deletions

View File

@ -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