Skip to content

Commit

Permalink
win_reboot - fix broken tests after recent commit (ansible#53722)
Browse files Browse the repository at this point in the history
  • Loading branch information
jborean93 committed Mar 13, 2019
1 parent acdb4c3 commit d9795ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/targets/win_reboot/tasks/main.yml
Expand Up @@ -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
Expand Down

0 comments on commit d9795ba

Please sign in to comment.