fix restart handler

This commit is contained in:
ace 2024-04-01 04:03:30 +03:00
parent 1cd68d3b62
commit ec6131ccd1
Signed by: ace
GPG Key ID: 2C08973DD37A76FD

View File

@ -11,7 +11,8 @@
volumes: "{{ wireguard_ui_volumes }}"
when:
- wireguard_ui_container_engine == 'docker'
- wireguard_ui_container.changed or wireguard_ui_auth.changed
- not wireguard_ui_container.changed
- wireguard_ui_auth.changed
- name: Restart WireGuard UI with podman
containers.podman.podman_container:
@ -25,4 +26,5 @@
volumes: "{{ wireguard_ui_volumes }}"
when:
- wireguard_ui_container_engine == 'podman'
- wireguard_ui_container.changed or wireguard_ui_auth.changed
- not wireguard_ui_container.changed
- wireguard_ui_auth.changed