|
|
@ -87,19 +87,19 @@ requirements:
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES = """
|
|
|
|
EXAMPLES = """
|
|
|
|
- name: Send default notification message via SNS
|
|
|
|
- name: Send default notification message via SNS
|
|
|
|
local_action:
|
|
|
|
sns:
|
|
|
|
module: sns
|
|
|
|
msg: '{{ inventory_hostname }} has completed the play.'
|
|
|
|
msg: "{{ inventory_hostname }} has completed the play."
|
|
|
|
subject: Deploy complete!
|
|
|
|
subject: "Deploy complete!"
|
|
|
|
topic: deploy
|
|
|
|
topic: "deploy"
|
|
|
|
delegate_to: localhost
|
|
|
|
|
|
|
|
|
|
|
|
- name: Send notification messages via SNS with short message for SMS
|
|
|
|
- name: Send notification messages via SNS with short message for SMS
|
|
|
|
local_action:
|
|
|
|
sns:
|
|
|
|
module: sns
|
|
|
|
msg: '{{ inventory_hostname }} has completed the play.'
|
|
|
|
msg: "{{ inventory_hostname }} has completed the play."
|
|
|
|
sms: deployed!
|
|
|
|
sms: "deployed!"
|
|
|
|
subject: Deploy complete!
|
|
|
|
subject: "Deploy complete!"
|
|
|
|
topic: deploy
|
|
|
|
topic: "deploy"
|
|
|
|
delegate_to: localhost
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|