2023-09-18 16:42:05 +00:00
|
|
|
---
|
|
|
|
- name: "Restart traefik"
|
|
|
|
ansible.builtin.service:
|
|
|
|
name: traefik
|
|
|
|
state: restarted
|
2023-09-19 16:22:26 +00:00
|
|
|
when: ansible_service_mgr == "systemd
|
2023-09-18 16:42:05 +00:00
|
|
|
|
|
|
|
- name: "Reload systemd"
|
|
|
|
ansible.builtin.systemd:
|
|
|
|
daemon_reload: true
|
|
|
|
when: ansible_service_mgr == "systemd"
|