Created
January 12, 2021 00:05
-
-
Save Craigson/9cab1574ff8ddfcb7c3f82a3dc8f69a3 to your computer and use it in GitHub Desktop.
launch_mosquitto
This file contains hidden or 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
| --- | |
| # tasks file for launch_mosquitto | |
| - debug: | |
| msg: "Launching Mosquito" | |
| # copy the mosquito config | |
| - name: Copy Mosquitto conf file | |
| copy: | |
| src: mosquitto.conf | |
| dest: mosquitto.conf | |
| mode: "0644" | |
| # launch mosquitto container | |
| - name: Launch Mosquitto | |
| docker_container: | |
| name: mosquitto | |
| image: eclipse-mosquitto | |
| hostname: mosquitto | |
| purge_networks: yes | |
| volumes: | |
| - /mosquitto.conf | |
| networks: | |
| - name: syntropynet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment