Code-review

Swap state enabled/disabled -> enabled yes/no
This commit is contained in:
Peter Mounce
2015-05-19 11:21:23 +01:00
committed by Matt Clay
parent 8f74e4acdf
commit 08bf656309
2 changed files with 15 additions and 19 deletions

View File

@@ -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
'''