Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Ansible tasks to install Mosquito MQTT Broker
# 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

This comment has been minimized.

Copy link
Owner Author

@justinatomatic 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
You can’t perform that action at this time.