forked from bitlair/ansible
www/mqtt: Install mqtt2web dependencies
This commit is contained in:
parent
e1be9a0781
commit
1511f6df22
2 changed files with 10 additions and 5 deletions
|
@ -11,4 +11,3 @@
|
|||
systemd:
|
||||
name: mqtt2web
|
||||
state: restarted
|
||||
daemon_reload: true
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
---
|
||||
- name: Install Mosquitto
|
||||
- name: Install dependencies
|
||||
apt:
|
||||
name: mosquitto
|
||||
name:
|
||||
- libjson-xs-perl
|
||||
- liblinux-epoll-perl
|
||||
- mosquitto
|
||||
|
||||
- name: Allow MQTT
|
||||
iptables:
|
||||
|
@ -35,11 +38,14 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart mqtt2web
|
||||
notify:
|
||||
- daemon reload
|
||||
- restart mqtt2web
|
||||
|
||||
- meta: flush_handlers
|
||||
|
||||
- name: Enable mqtt2web
|
||||
systemd:
|
||||
name: mqtt2web
|
||||
state: started
|
||||
enabled: true
|
||||
daemon_reload: true
|
||||
|
|
Loading…
Add table
Reference in a new issue