win_reboot - fix broken tests after recent commit (#53722)

pull/53765/head
Jordan Borean 6 years ago committed by GitHub
parent acdb4c3ede
commit d9795bad98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save