diff --git a/netbird_client/tasks/join-network.yml b/netbird_client/tasks/join-network.yml index 910f210..47d93bc 100644 --- a/netbird_client/tasks/join-network.yml +++ b/netbird_client/tasks/join-network.yml @@ -4,3 +4,10 @@ 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 +