mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-12-14 21:22:27 +00:00
20 lines
430 B
YAML
20 lines
430 B
YAML
---
|
|
- name: "reload systemd"
|
|
systemd:
|
|
daemon_reload: yes
|
|
|
|
- name: "restart sygnal using systemd"
|
|
service:
|
|
name: "sygnal"
|
|
state: restarted
|
|
enabled: yes
|
|
when: sygnal_supervision_method == "systemd"
|
|
listen: "restart sygnal"
|
|
|
|
- name: "restart sygnal using docker"
|
|
docker_container:
|
|
name: sygnal
|
|
state: started
|
|
restart: yes
|
|
when: sygnal_supervision_method == "docker"
|
|
listen: "restart sygnal"
|