mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2025-01-05 14:18:42 +00:00
21 lines
430 B
YAML
21 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"
|