Initial role stuff

This commit is contained in:
2023-03-17 15:58:49 +01:00
parent f3e381aca3
commit 911bc47acb
4 changed files with 45 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
- 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 }}"
failed_when: command.rc != 0
changed_when: "'Connected' in command.stdout"
register: command
throttle: 1