From 29adf26846c98d4fbd3e708b9e2284f87ee34823 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Tue, 26 Mar 2019 14:52:50 +0100 Subject: [PATCH] Try moving all interfaces to Private --- tigervnc.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tigervnc.yml b/tigervnc.yml index 36f65b9..b47af53 100644 --- a/tigervnc.yml +++ b/tigervnc.yml @@ -6,9 +6,12 @@ - name: Ensure we are on a private network win_shell: | - (Set-NetConnectionProfile -NetworkCategory Private -InterfaceAlias "LAN-Verbinding" -ErrorAction SilentlyContinue) -or - (Set-NetConnectionProfile -NetworkCategory Private -InterfaceAlias "Local Area Connection" -ErrorAction SilentlyContinue) -or - (Set-NetConnectionProfile -NetworkCategory Private -InterfaceAlias "Ethernet" -ErrorAction SilentlyContinue) + Set-NetConnectionProfile -NetworkCategory Private -InterfaceAlias "LAN-Verbinding" -ErrorAction SilentlyContinue + Set-NetConnectionProfile -NetworkCategory Private -InterfaceAlias "Local Area Connection" -ErrorAction SilentlyContinue + Set-NetConnectionProfile -NetworkCategory Private -InterfaceAlias "Ethernet" -ErrorAction SilentlyContinue + Set-NetConnectionProfile -NetwerkCategory Private -InterfaceAlias "Draadloze netwerkverbinding" -ErrorAction SilentlyContinu + Set-NetConnectionProfile -NetworkCategory Private -InterfaceAlias "Wi-Fi" -ErrorAction SilentlyContinue + ignore_errors: yes tags: private # - name: Download VNC Connect @@ -72,5 +75,6 @@ name: TigerVNC startmode: auto state: restarted + force: yes force_dependent_services: yes tags: service