Fix join command
This commit is contained in:
parent
911bc47acb
commit
95ddd04a86
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user