ansible-role-drone/handlers/main.yml
Jens Timmerman 7dc1aeb6f5 first commit
2020-10-25 02:07:09 +01:00

14 lines
247 B
YAML

---
# handlers file for im
- name: "Restart drone"
service:
name: "drone"
state: "restarted"
when: ansible_service_mgr == "systemd"
- name: "Reload systemd"
systemd:
daemon_reload: true
when: ansible_service_mgr == "systemd"