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 = '''
|
||||
- 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
|
||||
'''
|
||||
|
||||
# ===========================================
|
||||
|
|
Loading…
Reference in a new issue