Remove unused quotes - notification/rocketchat.py (#19156)

pull/19164/head
Fabio Alessandro Locati 8 years ago committed by John R Barker
parent 372352f35d
commit 90a698c367

@ -118,44 +118,43 @@ EXAMPLES = """
module: rocketchat module: rocketchat
token: thetoken/generatedby/rocketchat token: thetoken/generatedby/rocketchat
domain: chat.example.com domain: chat.example.com
msg: "{{ inventory_hostname }} completed" msg: '{{ inventory_hostname }} completed'
- name: Send notification message via Rocket Chat all options - name: Send notification message via Rocket Chat all options
local_action: local_action:
module: rocketchat module: rocketchat
domain: chat.example.com domain: chat.example.com
token: thetoken/generatedby/rocketchat token: thetoken/generatedby/rocketchat
msg: "{{ inventory_hostname }} completed" msg: '{{ inventory_hostname }} completed'
channel: "#ansible" channel: #ansible
username: "Ansible on {{ inventory_hostname }}" username: 'Ansible on {{ inventory_hostname }}'
icon_url: "http://www.example.com/some-image-file.png" icon_url: http://www.example.com/some-image-file.png
link_names: 0 link_names: 0
- name: insert a color bar in front of the message for visibility purposes and use the default webhook icon and name configured in rocketchat - name: insert a color bar in front of the message for visibility purposes and use the default webhook icon and name configured in rocketchat
rocketchat: rocketchat:
token: thetoken/generatedby/rocketchat token: thetoken/generatedby/rocketchat
domain: chat.example.com domain: chat.example.com
msg: "{{ inventory_hostname }} is alive!" msg: '{{ inventory_hostname }} is alive!'
color: good color: good
username: "" username: ''
icon_url: "" icon_url: ''
- name: Use the attachments API - name: Use the attachments API
rocketchat: rocketchat:
token: thetoken/generatedby/rocketchat token: thetoken/generatedby/rocketchat
domain: chat.example.com domain: chat.example.com
attachments: attachments:
- text: "Display my system load on host A and B" - text: Display my system load on host A and B
color: "#ff00dd" color: #ff00dd
title: "System load" title: System load
fields: fields:
- title: "System A" - title: System A
value: "load average: 0,74, 0,66, 0,63" value: 'load average: 0,74, 0,66, 0,63'
short: "true" short: True
- title: "System B" - title: System B
value: "load average: 5,16, 4,64, 2,43" value: 'load average: 5,16, 4,64, 2,43'
short: "true" short: True
""" """
RETURN = """ RETURN = """

Loading…
Cancel
Save