fix: Reenable lingering

This commit is contained in:
pulsar89.5 2024-06-06 02:39:39 +02:00
parent 60737c9a5a
commit b9a6f018e0

View File

@ -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) }}"