ansible-netbird/netbird
Mark J. Horninger 0158c0610c Initial commit 2024-02-05 13:50:49 -05:00
..
defaults Initial commit 2024-02-05 13:50:49 -05:00
handlers Initial commit 2024-02-05 13:50:49 -05:00
meta Initial commit 2024-02-05 13:50:49 -05:00
tasks Initial commit 2024-02-05 13:50:49 -05:00
tests Initial commit 2024-02-05 13:50:49 -05:00
vars Initial commit 2024-02-05 13:50:49 -05:00
README.md Initial commit 2024-02-05 13:50:49 -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