updates to file-test.yml

This commit is contained in:
Chris Hammer
2022-02-09 12:37:13 -05:00
parent 603a9e30f3
commit 55c03f9901

View File

@ -8,10 +8,11 @@
tasks: tasks:
- name: Run file test - name: Run file test
block: block:
- name: "Test #3 - induce failure (but only for a specified host)" - name: "Test #1: register file contents"
command: command :
cmd: cat /tmp/hello-ansible.txt cmd : cat /tmp/hello-ansible.txt
register: r_check_file changed_when : no
register : r_check_file
rescue: rescue: