Native YAML - notification/mqtt.py (#19164)

This commit is contained in:
Fabio Alessandro Locati 2016-12-10 20:44:59 +01:00 committed by Toshio Kuratomi
parent 0f7abad38f
commit 4bfb83c966

View file

@ -119,12 +119,13 @@ author: "Jan-Piet Mens (@jpmens)"
'''
EXAMPLES = '''
- local_action: mqtt
topic=service/ansible/{{ ansible_hostname }}
payload="Hello at {{ ansible_date_time.iso8601 }}"
qos=0
retain=false
client_id=ans001
- mqtt:
topic: 'service/ansible/{{ ansible_hostname }}'
payload: 'Hello at {{ ansible_date_time.iso8601 }}'
qos: 0
retain: False
client_id: ans001
delegate_to: localhost
'''
# ===========================================