Working on frand deployement

This commit is contained in:
2026-08-30 10:37:09 +00:00
parent 35a3bb9ad2
commit 612e2243c0
18 changed files with 261 additions and 308 deletions
@@ -0,0 +1,17 @@
---
- name: Check if NetBird is installed
ansible.builtin.command: netbird version
register: netbird_installed
ignore_errors: true
changed_when: false
- name: Install NetBird client
ansible.builtin.shell: curl -fsSL https://pkgs.netbird.io/install.sh | sh
when: netbird_installed.rc != 0
changed_when: true
- name: Connect NetBird to management server
ansible.builtin.command: >
netbird up --management-url {{ netbird_management_url }} --setup-key {{ netbird_setup_key }}
when: netbird_installed.rc != 0
changed_when: true