fix restart container on changes

This commit is contained in:
ace 2024-04-01 01:59:43 +03:00
parent 90312a80c9
commit 6440d02e46
Signed by: ace
GPG Key ID: 2C08973DD37A76FD

View File

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