You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
465 B
YAML
14 lines
465 B
YAML
- name: Join netbird-network
|
|
when: "netbird_client.join_network.setup_key is defined"
|
|
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
|
|
|
|
- name: Wait for netbird-interface to exist
|
|
wait_for:
|
|
path: "/sys/class/net/wt0"
|
|
state: present
|
|
when: command.changed
|
|
|