Timotej Lazar
973522c373
To reuse alpine and nginx roles. Probably going to merge repos at some point.
24 lines
461 B
YAML
24 lines
461 B
YAML
- name: reload nginx
|
|
service:
|
|
name: nginx
|
|
state: reloaded
|
|
when: "'handler' not in ansible_skip_tags"
|
|
|
|
- name: restart pusher
|
|
service:
|
|
name: pusher
|
|
state: restarted
|
|
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"
|