mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Code-review
Swap state enabled/disabled -> enabled yes/no
This commit is contained in:
@@ -34,18 +34,18 @@ options:
|
||||
- Name of the scheduled task
|
||||
- Supports * as wildcard
|
||||
required: true
|
||||
state:
|
||||
enabled:
|
||||
description:
|
||||
- State that the task should become
|
||||
required: false
|
||||
choices:
|
||||
- Disabled
|
||||
- Enabled
|
||||
default: Enabled
|
||||
- yes
|
||||
- no
|
||||
default: yes
|
||||
author: Peter Mounce
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# Disable the scheduled tasks with "WindowsUpdate" in their name
|
||||
win_scheduled_task: name="*WindowsUpdate*" state=disabled
|
||||
win_scheduled_task: name="*WindowsUpdate*" enabled=no
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user