Ansible tasks for Mosquitto MQTT Broker


I've been playing with Ansible and recently had it installing Mosquitto.

It's a bit too trivial at the moment to turn into a fully fledged Ansible roll so I've just put a Gist here.

It's only three tasks

# install mqtt broker
  - name: add mosquitto key
    apt_key: url= state=present
  - name: add mosquitto repo
    apt_repository: repo='deb wheezy main' state=present update_cache=yes
  - name: install mosquitto
    apt: name=mosquitto state=present



comments powered by Disqus

← Older Newer →