forked from ansible/ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: consistently format playbook EXAMPLES
- Loading branch information
Showing
30 changed files
with
130 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,13 +66,23 @@ notes: | |
|
||
EXAMPLES=''' | ||
# List ongoing maintenance windows. | ||
pagerduty: name=companyabc [email protected] passwd=password123 state=ongoing | ||
- pagerduty: name=companyabc [email protected] passwd=password123 state=ongoing | ||
# Create a 1 hour maintenance window for service FOO123. | ||
pagerduty: name=companyabc [email protected] passwd=password123 state=running service=FOO123" | ||
- pagerduty: name=companyabc | ||
[email protected] | ||
passwd=password123 | ||
state=running | ||
service=FOO123 | ||
# Create a 4 hour maintenance window for service FOO123 with the description "deployment". | ||
pagerduty: name=companyabc [email protected] passwd=password123 state=running service=FOO123 hours=4 desc=deployment" | ||
- pagerduty: name=companyabc | ||
[email protected] | ||
passwd=password123 | ||
state=running | ||
service=FOO123 | ||
hours=4 | ||
desc=deployment | ||
''' | ||
|
||
import json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,10 +52,18 @@ notes: | |
|
||
EXAMPLES = ''' | ||
# Pause the check with the ID of 12345. | ||
pingdom: [email protected] passwd=password123 key=apipassword123 checkid=12345 state=paused | ||
- pingdom: [email protected] | ||
passwd=password123 | ||
key=apipassword123 | ||
checkid=12345 | ||
state=paused | ||
# Unpause the check with the ID of 12345. | ||
pingdom: [email protected] passwd=password123 key=apipassword123 checkid=12345 state=running | ||
- pingdom: [email protected] | ||
passwd=password123 | ||
key=apipassword123 | ||
checkid=12345 | ||
state=running | ||
''' | ||
|
||
import pingdom | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,9 +43,9 @@ author: Adam Garside <[email protected]> | |
''' | ||
|
||
EXAMPLES = ''' | ||
action: campfire subscription=foo token=12345 room=123 msg="Task completed." | ||
- campfire: subscription=foo token=12345 room=123 msg="Task completed." | ||
action: campfire subscription=foo token=12345 room=123 notify=loggins | ||
- campfire: subscription=foo token=12345 room=123 notify=loggins | ||
msg="Task completed ... with feeling." | ||
''' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,9 +82,18 @@ requirements: [ urllib, urllib2 ] | |
''' | ||
|
||
EXAMPLES = ''' | ||
action: flowdock type=inbox token=AAAAAA [email protected] source='my cool app' msg='test from ansible' subject='test subject' | ||
action: flowdock type=chat token=AAAAAA external_user_name=testuser msg='test from ansible' tags=tag1,tag2,tag3 | ||
- flowdock: type=inbox | ||
token=AAAAAA | ||
[email protected] | ||
source='my cool app' | ||
msg='test from ansible' | ||
subject='test subject' | ||
- flowdock: type=chat | ||
token=AAAAAA | ||
external_user_name=testuser | ||
msg='test from ansible' | ||
tags=tag1,tag2,tag3 | ||
''' | ||
|
||
HAS_URLLIB = True | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.