xoxys.droneci/handlers/main.yml
2018-12-13 23:09:22 +01:00

18 lines
323 B
YAML

---
- name: Restart container
docker_service:
project_src: "{{ droneci_service_directory }}"
build: no
restarted: true
listen: __drone_restart
become: True
become_user: root
- name: Reload nginx
systemd:
state: reloaded
name: nginx
listen: __nginx_reload
become: True
become_user: root