From d9795bad98c55afb7730a608998f75a9c7865b29 Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Wed, 13 Mar 2019 12:24:41 +1000 Subject: [PATCH] win_reboot - fix broken tests after recent commit (#53722) --- test/integration/targets/win_reboot/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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