summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/notification
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2017-01-27 15:20:31 -0800
committerMatt Clay <matt@mystile.com>2017-01-27 17:08:02 -0800
commitd913f69ba10af797912327f553239081d17a2593 (patch)
tree56188415a88f70d1b4cff2e5c781840c4abc44a0 /lib/ansible/modules/notification
parent95789f3949b01c79c729315ff375d0e759f64970 (diff)
downloadansible-d913f69ba10af797912327f553239081d17a2593.tar.gz
PEP 8 W291 whitespace cleanup.
Diffstat (limited to 'lib/ansible/modules/notification')
-rw-r--r--lib/ansible/modules/notification/flowdock.py2
-rw-r--r--lib/ansible/modules/notification/irc.py2
-rw-r--r--lib/ansible/modules/notification/mqtt.py2
-rw-r--r--lib/ansible/modules/notification/osx_say.py6
-rw-r--r--lib/ansible/modules/notification/pushbullet.py10
5 files changed, 11 insertions, 11 deletions
diff --git a/lib/ansible/modules/notification/flowdock.py b/lib/ansible/modules/notification/flowdock.py
index 2d133f9ded..a16d304122 100644
--- a/lib/ansible/modules/notification/flowdock.py
+++ b/lib/ansible/modules/notification/flowdock.py
@@ -26,7 +26,7 @@ DOCUMENTATION = '''
---
module: flowdock
version_added: "1.2"
-author: "Matt Coddington (@mcodd)"
+author: "Matt Coddington (@mcodd)"
short_description: Send a message to a flowdock
description:
- Send a message to a flowdock team inbox or chat using the push API (see https://www.flowdock.com/api/team-inbox and https://www.flowdock.com/api/chat)
diff --git a/lib/ansible/modules/notification/irc.py b/lib/ansible/modules/notification/irc.py
index f0e842d388..d36b4c5de0 100644
--- a/lib/ansible/modules/notification/irc.py
+++ b/lib/ansible/modules/notification/irc.py
@@ -59,7 +59,7 @@ options:
version_added: "2.0"
color:
description:
- - Text color for the message. ("none" is a valid option in 1.6 or later, in 1.6 and prior, the default color is black, not "none").
+ - Text color for the message. ("none" is a valid option in 1.6 or later, in 1.6 and prior, the default color is black, not "none").
Added 11 more colors in version 2.0.
required: false
default: "none"
diff --git a/lib/ansible/modules/notification/mqtt.py b/lib/ansible/modules/notification/mqtt.py
index 2376fddc8a..78b0b6e921 100644
--- a/lib/ansible/modules/notification/mqtt.py
+++ b/lib/ansible/modules/notification/mqtt.py
@@ -115,7 +115,7 @@ requirements: [ mosquitto ]
notes:
- This module requires a connection to an MQTT broker such as Mosquitto
U(http://mosquitto.org) and the I(Paho) C(mqtt) Python client (U(https://pypi.python.org/pypi/paho-mqtt)).
-author: "Jan-Piet Mens (@jpmens)"
+author: "Jan-Piet Mens (@jpmens)"
'''
EXAMPLES = '''
diff --git a/lib/ansible/modules/notification/osx_say.py b/lib/ansible/modules/notification/osx_say.py
index ff6d3ae014..6536025840 100644
--- a/lib/ansible/modules/notification/osx_say.py
+++ b/lib/ansible/modules/notification/osx_say.py
@@ -30,7 +30,7 @@ short_description: Makes an OSX computer to speak.
description:
- makes an OS computer speak! Amuse your friends, annoy your coworkers!
notes:
- - If you like this module, you may also be interested in the osx_say callback in the plugins/ directory of the source checkout.
+ - If you like this module, you may also be interested in the osx_say callback in the plugins/ directory of the source checkout.
options:
msg:
description:
@@ -41,7 +41,7 @@ options:
What voice to use
required: false
requirements: [ say ]
-author:
+author:
- "Ansible Core Team"
- "Michael DeHaan (@mpdehaan)"
'''
@@ -76,7 +76,7 @@ def main():
say(module, msg, voice)
- module.exit_json(msg=msg, changed=False)
+ module.exit_json(msg=msg, changed=False)
# import module snippets
from ansible.module_utils.basic import *
diff --git a/lib/ansible/modules/notification/pushbullet.py b/lib/ansible/modules/notification/pushbullet.py
index 8000ae7342..6a1151b8ba 100644
--- a/lib/ansible/modules/notification/pushbullet.py
+++ b/lib/ansible/modules/notification/pushbullet.py
@@ -70,13 +70,13 @@ notes:
EXAMPLES = '''
# Sends a push notification to a device
-- pushbullet:
+- pushbullet:
api_key: "ABC123abc123ABC123abc123ABC123ab"
device: "Chrome"
title: "You may see this on Google Chrome"
# Sends a link to a device
-- pushbullet:
+- pushbullet:
api_key: ABC123abc123ABC123abc123ABC123ab
device: Chrome
push_type: link
@@ -84,13 +84,13 @@ EXAMPLES = '''
body: http://docs.ansible.com/
# Sends a push notification to a channel
-- pushbullet:
+- pushbullet:
api_key: ABC123abc123ABC123abc123ABC123ab
channel: my-awesome-channel
title: Broadcasting a message to the #my-awesome-channel folks
# Sends a push notification with title and body to a channel
-- pushbullet:
+- pushbullet:
api_key: ABC123abc123ABC123abc123ABC123ab
channel: my-awesome-channel
title: ALERT! Signup service is down
@@ -137,7 +137,7 @@ def main():
if not pushbullet_found:
module.fail_json(msg="Python 'pushbullet.py' module is required. Install via: $ pip install pushbullet.py")
- # Init pushbullet
+ # Init pushbullet
try:
pb = PushBullet(api_key)
target = None