diff options
Diffstat (limited to '')
-rw-r--r-- | test/integration/targets/command_nonexisting/aliases | 2 | ||||
-rw-r--r-- | test/integration/targets/command_nonexisting/tasks/main.yml | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/integration/targets/command_nonexisting/aliases b/test/integration/targets/command_nonexisting/aliases new file mode 100644 index 0000000..498fedd --- /dev/null +++ b/test/integration/targets/command_nonexisting/aliases @@ -0,0 +1,2 @@ +shippable/posix/group4 +context/controller diff --git a/test/integration/targets/command_nonexisting/tasks/main.yml b/test/integration/targets/command_nonexisting/tasks/main.yml new file mode 100644 index 0000000..d21856e --- /dev/null +++ b/test/integration/targets/command_nonexisting/tasks/main.yml @@ -0,0 +1,4 @@ +- command: commandthatdoesnotexist --would-be-awkward + register: res + changed_when: "'changed' in res.stdout" + failed_when: "res.stdout != '' or res.stderr != ''"
\ No newline at end of file |