fix: restarting handler

This commit is contained in:
Lennard Brinkhaus 2023-09-19 19:26:32 +02:00
parent eb8b3d73e0
commit 21f060e30c
Signed by: lennard.brinkhaus
GPG Key ID: 286421EC53998B22
2 changed files with 1 additions and 4 deletions

View File

@ -1,11 +1,8 @@
---
- name: "Restart traefik" - name: "Restart traefik"
ansible.builtin.service: ansible.builtin.service:
name: traefik name: traefik
state: restarted state: restarted
when: ansible_service_mgr == "systemd
- name: "Reload systemd" - name: "Reload systemd"
ansible.builtin.systemd: ansible.builtin.systemd:
daemon_reload: true daemon_reload: true
when: ansible_service_mgr == "systemd"