Native YAML - notification/mqtt.py (#19164)
This commit is contained in:
parent
0f7abad38f
commit
4bfb83c966
1 changed files with 7 additions and 6 deletions
|
@ -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
|
||||||
'''
|
'''
|
||||||
|
|
||||||
# ===========================================
|
# ===========================================
|
||||||
|
|
Loading…
Reference in a new issue