fix: Unit of container definition

This commit is contained in:
pulsar89.5 2024-02-12 17:02:30 +01:00
parent ff07b53990
commit 6abec55b28

View File

@ -1,7 +1,10 @@
# {{ ansible_managed }} # {{ ansible_managed }}
[Unit] [Unit]
Description=Wallbag container Description=Podman container: {{ container.name }}
{% for option, value in container.get('unit_extras', {}) %}
{{ option }}={{ value }}
{% endfor %}
[Container] [Container]
HostName={{ inventory_hostname }} HostName={{ inventory_hostname }}