diff --git a/netmaker/tasks/join-network.yml b/netmaker/tasks/join-network.yml index b57ad1a..0cc5cb0 100644 --- a/netmaker/tasks/join-network.yml +++ b/netmaker/tasks/join-network.yml @@ -2,3 +2,4 @@ when: "netclient.join_network_token is defined" command: "netclient join -t {{ netclient.join_network_token }}" failed_when: command.rc != 0 + register: command