add changed_when to machine-test.yml

This commit is contained in:
Chris Hammer
2022-02-09 12:24:09 -05:00
parent be46659f81
commit 603a9e30f3

View File

@ -9,9 +9,10 @@
- name: Run tests against various hosts
block:
- name: "Test #1 - whoami"
command :
cmd : whoami
register : r_cmd_whoami
command :
cmd : whoami
changed_when : no
register : r_cmd_whoami
- name: "Results #1 - whoami"