From 95ddd04a86ed2aeeef5b42e6184481c00d520ff7 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Sun, 19 Mar 2023 10:39:06 +0100 Subject: [PATCH] Fix join command --- netbird_client/tasks/join-network.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbird_client/tasks/join-network.yml b/netbird_client/tasks/join-network.yml index 4aadc3d..828bc5c 100644 --- a/netbird_client/tasks/join-network.yml +++ b/netbird_client/tasks/join-network.yml @@ -1,6 +1,6 @@ - name: Join netbird-network when: "netbird_client.join_network.setup_key is defined" - command: "netbird up --management-url {{ netbird_client.join_network.management_url }} {{ netbird_client.join_network.setup_key }}" + command: "netbird up --management-url {{ netbird_client.join_network.management_url }} --setup-key {{ netbird_client.join_network.setup_key }}" failed_when: command.rc != 0 changed_when: "'Connected' in command.stdout" register: command