ansible-role-kojid/handlers/main.yml

30 lines
466 B
YAML
Raw Normal View History

2021-01-03 19:35:33 +00:00
---
# handlers
- name: restart_kojid
service:
name: kojid
state: restarted
2021-02-11 01:11:49 +00:00
enabled: true
- name: disable_kojid
service:
name: kojid
state: stopped
enabled: false
2021-01-04 16:13:39 +00:00
- name: reload_systemd
systemd:
daemon_reload: true
2021-02-11 01:11:49 +00:00
- name: restart_kojid_staging
service:
name: kojid_staging
state: restarted
enabled: true
- name: restart_kojid_production
service:
name: kojid_production
state: restarted
enabled: true