Compare commits
2 Commits
247fdec7ae
...
d9cf3d2066
Author | SHA1 | Date | |
---|---|---|---|
d9cf3d2066 | |||
f42bce9b6b |
@ -2,5 +2,6 @@
|
|||||||
when: "netclient.join_network_token is defined"
|
when: "netclient.join_network_token is defined"
|
||||||
command: "netclient join -t {{ netclient.join_network_token }}"
|
command: "netclient join -t {{ netclient.join_network_token }}"
|
||||||
failed_when: command.rc != 0
|
failed_when: command.rc != 0
|
||||||
|
changed_when: "'starting wireguard' in command.stdout"
|
||||||
register: command
|
register: command
|
||||||
throttle: 1
|
throttle: 1
|
||||||
|
@ -3,3 +3,6 @@
|
|||||||
- import_tasks: ./install.yml
|
- import_tasks: ./install.yml
|
||||||
|
|
||||||
- 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