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 = ''' EXAMPLES = '''
- local_action: mqtt - mqtt:
topic=service/ansible/{{ ansible_hostname }} topic: 'service/ansible/{{ ansible_hostname }}'
payload="Hello at {{ ansible_date_time.iso8601 }}" payload: 'Hello at {{ ansible_date_time.iso8601 }}'
qos=0 qos: 0
retain=false retain: False
client_id=ans001 client_id: ans001
delegate_to: localhost
''' '''
# =========================================== # ===========================================