From 6abec55b283119806ea89996f0d2302533f2b471 Mon Sep 17 00:00:00 2001 From: "pulsar89.5" Date: Mon, 12 Feb 2024 17:02:30 +0100 Subject: [PATCH] fix: Unit of container definition --- templates/podman-quadlet.container.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/podman-quadlet.container.j2 b/templates/podman-quadlet.container.j2 index 38f9c8b..308aa9b 100644 --- a/templates/podman-quadlet.container.j2 +++ b/templates/podman-quadlet.container.j2 @@ -1,7 +1,10 @@ # {{ ansible_managed }} [Unit] -Description=Wallbag container +Description=Podman container: {{ container.name }} +{% for option, value in container.get('unit_extras', {}) %} +{{ option }}={{ value }} +{% endfor %} [Container] HostName={{ inventory_hostname }}