mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07: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:
parent
08957cf46e
commit
557716dc49
4 changed files with 315 additions and 24 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue