mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
win_reboot - fix broken tests after recent commit (#53722)
This commit is contained in:
parent
acdb4c3ede
commit
d9795bad98
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue