ansible-netbird/roles/netbird
Mark J. Horninger 5a8be7bb09 Reorganized the project 2024-02-23 07:45:27 -05:00
..
defaults Reorganized the project 2024-02-23 07:45:27 -05:00
handlers Reorganized the project 2024-02-23 07:45:27 -05:00
meta Reorganized the project 2024-02-23 07:45:27 -05:00
tasks Reorganized the project 2024-02-23 07:45:27 -05:00
tests Reorganized the project 2024-02-23 07:45:27 -05:00
vars Reorganized the project 2024-02-23 07:45:27 -05:00
README.md Reorganized the project 2024-02-23 07:45:27 -05:00

README.md

Role Name

A role that installs the very basic version of Netbird, utilizing their install scripts.

Requirements

  • curl

Role Variables

  • netbird_setup_key: The key that is used to automate the setup process.
  • netbird_register: A true/false defining whether or not register netbird.

Dependencies

  • None

Example Playbook

---
- name: Install Netbird
  hosts: localhost
  become: true
  vars:
    netbird_setup_key: "{{ lookup('env', 'NETBIRD_SETUP_KEY') }}"
    netbird_register: true
  tasks:
    - name: Check for netbird setup key
      ansible.builtin.fail:
        msg: "netbird_setup_key is required"
      when: netbird_setup_key is not defined

    - name: Install Netbird
      ansible.builtin.include_role:
        name: netbird

    - name: Check Netbird Status
      ansible.builtin.shell: |
        netbird status --detail        

License

MIT

Author Information