fix: move some tasks because of scheduling
This commit is contained in:
parent
915f95d568
commit
4881188d1c
@ -38,12 +38,16 @@
|
||||
src: traefik.yaml.j2
|
||||
dest: "/etc/traefik/traefik.yaml"
|
||||
|
||||
notify:
|
||||
- Reload systemd
|
||||
- Restart traefik
|
||||
- name: "Reload systemd"
|
||||
ansible.builtin.systemd:
|
||||
daemon_reload: true
|
||||
when: ansible_service_mgr == "systemd"
|
||||
|
||||
- name: Start Traefik
|
||||
- name: Start Traefik
|
||||
systemd_service:
|
||||
enabled: true
|
||||
name: traefik
|
||||
state: started
|
||||
notify:
|
||||
- Restart traefik
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user