fix: move some tasks because of scheduling

This commit is contained in:
Lennard Brinkhaus 2023-09-19 18:45:26 +02:00
parent 915f95d568
commit 4881188d1c
Signed by: lennard.brinkhaus
GPG Key ID: 286421EC53998B22

View File

@ -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
systemd_service:
enabled: true
name: traefik
state: started
notify:
- Restart traefik