fix combined volumes end envs

This commit is contained in:
ace 2022-07-13 21:31:50 +03:00
parent 572071597d
commit 8b8d89f213
No known key found for this signature in database
GPG Key ID: 2E47CC17BA7F8CF0

View File

@ -23,9 +23,10 @@
network_mode: "{{ wireguard_ui_network_mode }}"
image: "{{ wireguard_ui_container_registry }}/{{ wireguard_ui_image_name }}:{{ wireguard_ui_image_tag }}"
state: created
env: "{{ wireguard_ui_env }}"
volumes: "{{ wireguard_ui_volumes }}"
env: "{{ wireguard_ui_combined_env }}"
volumes: "{{ wireguard_ui_combined_volumes }}"
register: wireguard_ui_container
notify: Restart WireGuard UI with podman
- name: Generate container systemd unit
shell: "podman generate systemd {{ wireguard_ui_container_name }}"