Add changed-detection

role_netmaker
Ruakij 2 years ago
parent 247fdec7ae
commit f42bce9b6b

@ -2,5 +2,6 @@
when: "netclient.join_network_token is defined"
command: "netclient join -t {{ netclient.join_network_token }}"
failed_when: command.rc != 0
changed_when: "'starting wireguard' in command.stdout"
register: command
throttle: 1

Loading…
Cancel
Save