diff --git a/tasks/configuration.yml b/tasks/configuration.yml index e833ee0..ac9da8b 100644 --- a/tasks/configuration.yml +++ b/tasks/configuration.yml @@ -13,6 +13,12 @@ system: true 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 containers.podman.podman_container: hostname: "{{ container.hostname | default(inventory_hostname) }}"