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

@ -5,12 +5,16 @@
become: no
vars_files:
- vars/defaults.yml
tasks:
- name: Run file test
block:
- name: "Test #1: register file contents"
command :
cmd : cat /tmp/hello-ansible.txt
cmd : "cat {{ check_file }}"
changed_when : no
register : r_check_file