fix: rootful path
This commit is contained in:
parent
75f81cb4ef
commit
b013450948
@ -3,7 +3,6 @@
|
||||
ansible.builtin.service:
|
||||
name: traefik
|
||||
state: restarted
|
||||
scope: "user"
|
||||
when: ansible_service_mgr == "systemd"
|
||||
environment:
|
||||
XDG_RUNTIME_DIR: /var/run
|
||||
@ -11,7 +10,6 @@
|
||||
- name: "Reload systemd"
|
||||
ansible.builtin.systemd:
|
||||
daemon_reload: true
|
||||
scope: "user"
|
||||
when: ansible_service_mgr == "systemd"
|
||||
environment:
|
||||
XDG_RUNTIME_DIR: /var/run
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
- name: Create podman folder
|
||||
file:
|
||||
path: /root/.config/containers/systemd/
|
||||
path: /etc/containers/systemd
|
||||
state: directory
|
||||
mode: 0775
|
||||
recurse: yes
|
||||
@ -26,12 +26,12 @@
|
||||
- name: Copy traefik.network
|
||||
ansible.builtin.template:
|
||||
src: traefik.network
|
||||
dest: "/root/.config/containers/systemd/traefik.network"
|
||||
dest: "/etc/containers/systemdtraefik.network"
|
||||
|
||||
- name: Copy traefik.container
|
||||
ansible.builtin.template:
|
||||
src: traefik.quadlet.j2
|
||||
dest: "/root/.config/containers/systemd/traefik.container"
|
||||
dest: "/etc/containers/systemdtraefik.container"
|
||||
|
||||
- name: Copy traefik.yml
|
||||
ansible.builtin.template:
|
||||
@ -47,6 +47,5 @@
|
||||
enabled: true
|
||||
name: traefik
|
||||
state: started
|
||||
scope: "user"
|
||||
environment:
|
||||
XDG_RUNTIME_DIR: /var/run
|
||||
|
Loading…
Reference in New Issue
Block a user