fix: restarting handler
This commit is contained in:
parent
eb8b3d73e0
commit
21f060e30c
@ -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"
|
|
||||||
|
@ -19,7 +19,7 @@ Network=traefik.network
|
|||||||
Volume=/etc/traefik:/etc/traefik:rw
|
Volume=/etc/traefik:/etc/traefik:rw
|
||||||
Volume=/var/run/podman/podman.sock:/var/run/docker.sock:ro
|
Volume=/var/run/podman/podman.sock:/var/run/docker.sock:ro
|
||||||
Volume=/letsencrypt/acme.json:/letsencrypt/acme.json
|
Volume=/letsencrypt/acme.json:/letsencrypt/acme.json
|
||||||
|
|
||||||
NoNewPrivileges=true
|
NoNewPrivileges=true
|
||||||
DropCapability=All
|
DropCapability=All
|
||||||
AddCapability=net_bind_service
|
AddCapability=net_bind_service
|
||||||
|
Loading…
Reference in New Issue
Block a user