Add wait for interface to come up
This commit is contained in:
parent
dca40ed835
commit
b5729caa0e
@ -4,3 +4,10 @@
|
|||||||
failed_when: command.rc != 0
|
failed_when: command.rc != 0
|
||||||
changed_when: "'Connected' in command.stdout"
|
changed_when: "'Connected' in command.stdout"
|
||||||
register: command
|
register: command
|
||||||
|
|
||||||
|
- name: Wait for netbird-interface to exist
|
||||||
|
wait_for:
|
||||||
|
path: "/sys/class/net/wt0"
|
||||||
|
state: present
|
||||||
|
when: command.changed
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user