Compare commits
3 Commits
95ddd04a86
...
fd302e4ebc
Author | SHA1 | Date | |
---|---|---|---|
fd302e4ebc | |||
b5729caa0e | |||
dca40ed835 |
@ -4,4 +4,13 @@
|
|||||||
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
|
||||||
throttle: 1
|
|
||||||
|
- name: Wait for netbird-interface to exist
|
||||||
|
wait_for:
|
||||||
|
path: "/sys/class/net/wt0"
|
||||||
|
state: present
|
||||||
|
when: command.changed
|
||||||
|
|
||||||
|
- name: Gather facts to get changes
|
||||||
|
ansible.builtin.gather_facts:
|
||||||
|
when: command.changed
|
||||||
|
@ -2,5 +2,3 @@
|
|||||||
|
|
||||||
- import_tasks: ./join-network.yml
|
- import_tasks: ./join-network.yml
|
||||||
|
|
||||||
- name: Gather facts to get changes
|
|
||||||
ansible.builtin.gather_facts:
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user