diff --git a/defaults/main.yaml b/defaults/main.yaml index 430a74d..554e349 100644 --- a/defaults/main.yaml +++ b/defaults/main.yaml @@ -1,4 +1,4 @@ -wireguard_install: yes +wireguard_ui_wireguard_install: true wireguard_ui_container_engine: "{{ container_engine | default('podman') }}" wireguard_ui_container_name: "wireguard-ui" wireguard_ui_network_mode: "host" diff --git a/tasks/Debian/main.yaml b/tasks/Debian/main.yaml index 99717e3..14a345e 100644 --- a/tasks/Debian/main.yaml +++ b/tasks/Debian/main.yaml @@ -1,6 +1,6 @@ - name: "Include WireGuard install" include_tasks: wireguard_install.yaml - when: wireguard_install + when: wireguard_ui_wireguard_install - name: "Include WireGuard UI install with podman" include_tasks: podman.yaml diff --git a/tasks/RedHat/main.yaml b/tasks/RedHat/main.yaml index 99717e3..14a345e 100644 --- a/tasks/RedHat/main.yaml +++ b/tasks/RedHat/main.yaml @@ -1,6 +1,6 @@ - name: "Include WireGuard install" include_tasks: wireguard_install.yaml - when: wireguard_install + when: wireguard_ui_wireguard_install - name: "Include WireGuard UI install with podman" include_tasks: podman.yaml