xoxys.droneci/handlers/main.yml

18 lines
291 B
YAML
Raw Normal View History

2018-12-13 22:09:22 +00:00
---
- name: Restart container
systemd:
state: restarted
daemon_reload: yes
name: drone
2018-12-13 22:09:22 +00:00
listen: __drone_restart
become: True
become_user: root
- name: Reload nginx
systemd:
state: reloaded
name: nginx
listen: __nginx_reload
become: True
become_user: root