mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-17 22:30:59 +00:00
win_updates: action plugin-ify it (#33216)
* converted win_updates to an action plugin for automatic reboots * do not set final result when running under async * Updated documentation around win_updates with async and become
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
win_updates:
|
||||
state: invalid
|
||||
register: invalid_state
|
||||
failed_when: "invalid_state.msg != 'Get-AnsibleParam: Argument state needs to be one of installed,searched but was invalid.'"
|
||||
failed_when: invalid_state.msg != 'state must be either installed or searched'
|
||||
|
||||
- name: expect failure with invalid category name
|
||||
win_updates:
|
||||
|
||||
Reference in New Issue
Block a user