ansible/roles/factorio/handlers/main.yml

14 lines
277 B
YAML
Raw Normal View History

2020-12-21 21:19:47 -06:00
---
# handlers file for factorio
- name: Reload factorio server (daemon_reload)
systemd:
name: "{{ service_name }}"
daemon_reload: yes
- name: Restart factorio service
systemd:
name: "{{ service_name }}"
state: restarted
when: service_restart_permitted