Created
March 11, 2015 02:59
-
-
Save justinatomatic/c2cf67a6c49bcdc8702e to your computer and use it in GitHub Desktop.
Ansible tasks to install Mosquito MQTT Broker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Only tested on raspbian so far but should work on other apt based systems.