xoxys.droneci/handlers/main.yml

18 lines
291 B
YAML

---
- name: Restart container
systemd:
state: restarted
daemon_reload: yes
name: drone
listen: __drone_restart
become: True
become_user: root
- name: Reload nginx
systemd:
state: reloaded
name: nginx
listen: __nginx_reload
become: True
become_user: root