updates to file-test.yml
This commit is contained in:
@ -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:
|
||||||
|
Reference in New Issue
Block a user