Add synapse role
For all the hipster kids.
This commit is contained in:
parent
74cb31e243
commit
e101493889
6 changed files with 201 additions and 0 deletions
11
roles/synapse/handlers/main.yml
Normal file
11
roles/synapse/handlers/main.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
- name: restart synapse
|
||||
service:
|
||||
name: synapse
|
||||
state: restarted
|
||||
when: "'handler' not in ansible_skip_tags"
|
||||
|
||||
- name: reload nginx
|
||||
service:
|
||||
name: nginx
|
||||
state: reloaded
|
||||
when: "'handler' not in ansible_skip_tags"
|
Loading…
Add table
Add a link
Reference in a new issue