Add wait for interface to come up

role_netbird_client
Ruakij 2 years ago
parent dca40ed835
commit b5729caa0e

@ -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

Loading…
Cancel
Save