From f42bce9b6b548f340c9440de15549c8b58146bd2 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Wed, 2 Nov 2022 16:37:53 +0100 Subject: [PATCH] Add changed-detection --- netmaker/tasks/join-network.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/netmaker/tasks/join-network.yml b/netmaker/tasks/join-network.yml index e2a7716..b201dd3 100644 --- a/netmaker/tasks/join-network.yml +++ b/netmaker/tasks/join-network.yml @@ -2,5 +2,6 @@ when: "netclient.join_network_token is defined" command: "netclient join -t {{ netclient.join_network_token }}" failed_when: command.rc != 0 + changed_when: "'starting wireguard' in command.stdout" register: command throttle: 1