* WIP! Getting the netbird api up * Adding the netbird inventory. * Added sanity tests * Fixed the content in the code of conduct and contributing folders. * Adedd MIT License * Now passing ansible sanity tests * Reorganized the project * Added import plugins file * Back to passing sanity tests after the giant rearranging * Now passing the basic unit tests * Added unit tests github action * Fixed the unit tests call * Changing to the GPL v3 License * Added pytest-xdist * Making the sanity tests happy again * Fix the message that's in here. * Added filtering for disconnected peers * Cleanup * Getting closer to where I want to be * WIP! Fixed to get the tests working again, broke again * Fixed sanity tests * WIP! Got the tests corrected to fill the proper vars in * WIP! Added more processing. Getting there, but I want to go watch Krapopolis. * WIP! debugging nuances around the groups * Updated licensing to reflect what is actually going on. * Finished the entire inventory plugin |
||
|---|---|---|
| .. | ||
| defaults | ||
| handlers | ||
| meta | ||
| tasks | ||
| tests | ||
| vars | ||
| README.md | ||
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
- Mark J. Horninger sales@dominion.solutions
- Many thanks to Benjamin Arntzen for his role that served as a guideline to build this role.