fix: Reenable lingering
This commit is contained in:
parent
60737c9a5a
commit
b9a6f018e0
@ -13,6 +13,12 @@
|
|||||||
system: true
|
system: true
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
|
|
||||||
|
- name: Activer le lingering
|
||||||
|
ansible.builtin.command:
|
||||||
|
cmd: "loginctl enable-linger {{ container_user }}"
|
||||||
|
creates: /var/lib/systemd/linger/{{ container_user }}
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: Create a Quadlet file
|
- name: Create a Quadlet file
|
||||||
containers.podman.podman_container:
|
containers.podman.podman_container:
|
||||||
hostname: "{{ container.hostname | default(inventory_hostname) }}"
|
hostname: "{{ container.hostname | default(inventory_hostname) }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user