diff --git a/netbird_client/tasks/join-network.yml b/netbird_client/tasks/join-network.yml index 47d93bc..7d79bfa 100644 --- a/netbird_client/tasks/join-network.yml +++ b/netbird_client/tasks/join-network.yml @@ -11,3 +11,6 @@ state: present when: command.changed +- name: Gather facts to get changes + ansible.builtin.gather_facts: + when: command.changed diff --git a/netbird_client/tasks/main.yml b/netbird_client/tasks/main.yml index b698801..ae57758 100644 --- a/netbird_client/tasks/main.yml +++ b/netbird_client/tasks/main.yml @@ -2,5 +2,3 @@ - import_tasks: ./join-network.yml -- name: Gather facts to get changes - ansible.builtin.gather_facts: