summaryrefslogtreecommitdiff
path: root/test/integration/targets/win_reboot/tasks/main.yml
diff options
context:
space:
mode:
authorJordan Borean <jborean93@gmail.com>2019-03-13 12:24:41 +1000
committerGitHub <noreply@github.com>2019-03-13 12:24:41 +1000
commitd9795bad98c55afb7730a608998f75a9c7865b29 (patch)
tree3777690fd5b0333b378162fa46ba2e32c6093724 /test/integration/targets/win_reboot/tasks/main.yml
parentacdb4c3edecf0703804b24eae177ded014a078c6 (diff)
downloadansible-d9795bad98c55afb7730a608998f75a9c7865b29.tar.gz
win_reboot - fix broken tests after recent commit (#53722)
Diffstat (limited to 'test/integration/targets/win_reboot/tasks/main.yml')
-rw-r--r--test/integration/targets/win_reboot/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/targets/win_reboot/tasks/main.yml b/test/integration/targets/win_reboot/tasks/main.yml
index 6bbaf98806..ebb8707ad9 100644
--- a/test/integration/targets/win_reboot/tasks/main.yml
+++ b/test/integration/targets/win_reboot/tasks/main.yml
@@ -78,7 +78,7 @@
ansible_password: '{{standard_pass}}'
ansible_winrm_transport: ntlm
register: fail_shutdown
- failed_when: "fail_shutdown.msg != 'Reboot command failed, error was: Access is denied.(5)'"
+ failed_when: "'Reboot command failed, error was: Access is denied.(5)' not in fail_shutdown.msg"
always:
- name: set the original SDDL to the WinRM listener