ansible/ansible — pull request #2869 by jpmens (2013-05-08 16:40:58+00:00)
Title: new module: notification/mqtt for publishing a topic to an MQTT broker

Allows notification to an [MQTT](http://mqtt.org) broker.

## Example playbook

```yaml

---
- hosts:
- t1.prox
gather_facts: true
connection: paramiko
tasks:
- local_action: mqtt
server=localhost
port=1883
topic=service/ansible/{{ ansible_hostname }}
payload="Hello at {{ ansible_date_time.iso8601 }}"
qos=0
retain=false
client_id=ans001
```

## Example SUBscription

```bash
$ mosquitto_sub -v -t 'service/#'

service/ansible/t1 Hello at 2013-05-08T16:35:58Z
...
```