use EXAMPLES vs examples (easier to format)
This commit is contained in:
parent
edc1c4cb2f
commit
81d26340d0
1 changed files with 8 additions and 5 deletions
|
@ -53,15 +53,18 @@ options:
|
||||||
choices: []
|
choices: []
|
||||||
aliases: []
|
aliases: []
|
||||||
version_added: 0.1
|
version_added: 0.1
|
||||||
examples:
|
|
||||||
- code: pingdom uid=example@example.com passwd=password123 key=apipassword123 checkid=12345 state=paused
|
|
||||||
description: Pause the check with the ID of 12345.
|
|
||||||
- code: pingdom uid=example@example.com passwd=password123 key=apipassword123 checkid=12345 state=running
|
|
||||||
description: Unpause the check with the ID of 12345.
|
|
||||||
notes:
|
notes:
|
||||||
- This module does not yet have support to add/remove checks.
|
- This module does not yet have support to add/remove checks.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
EXAMPLES = '''
|
||||||
|
# Pause the check with the ID of 12345.
|
||||||
|
pingdom: uid=example@example.com passwd=password123 key=apipassword123 checkid=12345 state=paused
|
||||||
|
|
||||||
|
# Unpause the check with the ID of 12345.
|
||||||
|
pingdom: uid=example@example.com passwd=password123 key=apipassword123 checkid=12345 state=running
|
||||||
|
'''
|
||||||
|
|
||||||
import pingdom
|
import pingdom
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue