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