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 }}" network_mode: "{{ wireguard_ui_network_mode }}"
image: "{{ wireguard_ui_container_registry }}/{{ wireguard_ui_image_name }}:{{ wireguard_ui_image_tag }}" image: "{{ wireguard_ui_container_registry }}/{{ wireguard_ui_image_name }}:{{ wireguard_ui_image_tag }}"
state: created state: created
env: "{{ wireguard_ui_env }}" env: "{{ wireguard_ui_combined_env }}"
volumes: "{{ wireguard_ui_volumes }}" volumes: "{{ wireguard_ui_combined_volumes }}"
register: wireguard_ui_container register: wireguard_ui_container
notify: Restart WireGuard UI with podman
- name: Generate container systemd unit - name: Generate container systemd unit
shell: "podman generate systemd {{ wireguard_ui_container_name }}" shell: "podman generate systemd {{ wireguard_ui_container_name }}"