Add www role
This commit is contained in:
parent
1bab3d478d
commit
03780abf01
12 changed files with 313 additions and 0 deletions
14
roles/www/handlers/main.yaml
Normal file
14
roles/www/handlers/main.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- import_tasks: ../../common/handlers/main.yaml
|
||||
|
||||
- name: restart spaceapi
|
||||
systemd:
|
||||
name: spaceapi
|
||||
state: restarted
|
||||
daemon_reload: true
|
||||
|
||||
- name: restart mqtt2web
|
||||
systemd:
|
||||
name: mqtt2web
|
||||
state: restarted
|
||||
daemon_reload: true
|
Loading…
Add table
Add a link
Reference in a new issue