From 4bfb83c9668e10bc2dd02c5bd437d2b53f1bab2c Mon Sep 17 00:00:00 2001 From: Fabio Alessandro Locati Date: Sat, 10 Dec 2016 20:44:59 +0100 Subject: [PATCH] Native YAML - notification/mqtt.py (#19164) --- lib/ansible/modules/notification/mqtt.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/ansible/modules/notification/mqtt.py b/lib/ansible/modules/notification/mqtt.py index b13124b4f0..2376fddc8a 100644 --- a/lib/ansible/modules/notification/mqtt.py +++ b/lib/ansible/modules/notification/mqtt.py @@ -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 ''' # ===========================================