Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ansible tasks to install Mosquito MQTT Broker
# install mqtt broker
- name: add mosquitto key
apt_key: url=http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key state=present
- name: add mosquitto repo
apt_repository: repo='deb http://repo.mosquitto.org/debian wheezy main' state=present update_cache=yes
- name: install mosquitto
apt: name=mosquitto state=present
@justinatomatic

This comment has been minimized.

Show comment
Hide comment
@justinatomatic

justinatomatic Mar 11, 2015

Only tested on raspbian so far but should work on other apt based systems.

Owner

justinatomatic commented Mar 11, 2015

Only tested on raspbian so far but should work on other apt based systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment