mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-12 00:54:22 -07:00
use EXAMPLES vs examples (easier to format)
This commit is contained in:
parent
f7cabfe64e
commit
5e8923c04f
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…
Add table
Add a link
Reference in a new issue