Add role for apis-rilec
This commit is contained in:
parent
61d5b4b6d8
commit
216deda916
9 changed files with 293 additions and 0 deletions
17
roles/rilec/handlers/main.yml
Normal file
17
roles/rilec/handlers/main.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
- name: reload nginx
|
||||
service:
|
||||
name: nginx
|
||||
state: reloaded
|
||||
when: "'handler' not in ansible_skip_tags"
|
||||
|
||||
- name: reload uwsgi
|
||||
service:
|
||||
name: uwsgi
|
||||
state: reloaded
|
||||
when: "'handler' not in ansible_skip_tags"
|
||||
|
||||
- name: restart uwsgi
|
||||
service:
|
||||
name: uwsgi
|
||||
state: restarted
|
||||
when: "'handler' not in ansible_skip_tags"
|
||||
Loading…
Add table
Add a link
Reference in a new issue