diff options
Diffstat (limited to 'test/integration/targets/win_raw/tasks/main.yml')
-rw-r--r-- | test/integration/targets/win_raw/tasks/main.yml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/integration/targets/win_raw/tasks/main.yml b/test/integration/targets/win_raw/tasks/main.yml index c39e82b0e7..34d04c5496 100644 --- a/test/integration/targets/win_raw/tasks/main.yml +++ b/test/integration/targets/win_raw/tasks/main.yml @@ -26,8 +26,8 @@ - "getmac_result.rc == 0" - "getmac_result.stdout" - "not getmac_result.stderr" - - "not getmac_result|failed" - - "getmac_result|changed" + - "getmac_result is not failed" + - "getmac_result is changed" - name: run ipconfig with /all argument raw: ipconfig /all @@ -40,8 +40,8 @@ - "ipconfig_result.stdout" - "'Physical Address' in ipconfig_result.stdout" - "not ipconfig_result.stderr" - - "not ipconfig_result|failed" - - "ipconfig_result|changed" + - "ipconfig_result is not failed" + - "ipconfig_result is changed" - name: run ipconfig with invalid argument raw: ipconfig /badswitch @@ -54,8 +54,8 @@ - "ipconfig_invalid_result.rc != 0" - "ipconfig_invalid_result.stdout" # ipconfig displays errors on stdout. # - "not ipconfig_invalid_result.stderr" - - "ipconfig_invalid_result|failed" - - "ipconfig_invalid_result|changed" + - "ipconfig_invalid_result is failed" + - "ipconfig_invalid_result is changed" - name: run an unknown command raw: uname -a @@ -68,8 +68,8 @@ - "unknown_result.rc != 0" - "not unknown_result.stdout" - "unknown_result.stderr" # An unknown command displays error on stderr. - - "unknown_result|failed" - - "unknown_result|changed" + - "unknown_result is failed" + - "unknown_result is changed" - name: run a command that takes longer than 60 seconds raw: Start-Sleep -s 75 @@ -81,8 +81,8 @@ - "sleep_command.rc == 0" - "not sleep_command.stdout" - "not sleep_command.stderr" - - "not sleep_command|failed" - - "sleep_command|changed" + - "sleep_command is not failed" + - "sleep_command is changed" - name: run a raw command with key=value arguments raw: echo wwe=raw @@ -113,7 +113,7 @@ - name: check raw + with_items result assert: that: - - "not raw_with_items_result|failed" + - "raw_with_items_result is not failed" - "raw_with_items_result.results|length == 32" # TODO: this test fails, since we're back to passing raw commands without modification @@ -124,5 +124,5 @@ #- name: check raw with job result # assert: # that: -# - raw_job_result | succeeded +# - raw_job_result is successful # - raw_job_result.stdout_lines[0] == 'yo' |