Add role for services
This commit is contained in:
parent
1191dd2534
commit
cdc9f519f0
9 changed files with 171 additions and 0 deletions
20
roles/services/handlers/main.yaml
Normal file
20
roles/services/handlers/main.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
- import_tasks: ../../common/handlers/main.yaml
|
||||
|
||||
- name: restart irc-bot
|
||||
systemd:
|
||||
name: irc-bot
|
||||
state: restarted
|
||||
daemon_reload: true
|
||||
|
||||
- name: restart siahsd
|
||||
systemd:
|
||||
name: siahsd
|
||||
state: restarted
|
||||
daemon_reload: true
|
||||
|
||||
- name: restart spacestated
|
||||
systemd:
|
||||
name: spacestated
|
||||
state: restarted
|
||||
daemon_reload: true
|
Loading…
Add table
Add a link
Reference in a new issue