xoxys.droneci/handlers/main.yml

18 lines
323 B
YAML
Raw Normal View History

2018-12-13 22:09:22 +00:00
---
- 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