Merge branch 'role_netmaker'

This commit is contained in:
Ruakij 2022-11-02 16:40:36 +01:00
commit 6b59bf6c75
2 changed files with 5 additions and 0 deletions

View File

@ -2,4 +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

View File

@ -3,3 +3,6 @@
- import_tasks: ./install.yml
- import_tasks: ./join-network.yml
- name: Gather facts to get changes
ansible.builtin.gather_facts: