fix: restarting handler
This commit is contained in:
parent
eb8b3d73e0
commit
21f060e30c
@ -1,11 +1,8 @@
|
||||
---
|
||||
- name: "Restart traefik"
|
||||
ansible.builtin.service:
|
||||
name: traefik
|
||||
state: restarted
|
||||
when: ansible_service_mgr == "systemd
|
||||
|
||||
- name: "Reload systemd"
|
||||
ansible.builtin.systemd:
|
||||
daemon_reload: true
|
||||
when: ansible_service_mgr == "systemd"
|
||||
|
Loading…
Reference in New Issue
Block a user