A collection of Ansible modules for managing Ubiquiti Unifi devices, based on the new Unifi API (Current : version 0.1).
- Python 3
- Ansible
- Clone the repository
- Copy the
library
directory to your Ansible project - Create a
secrets.yml
file in the root of your project with the following content:
unifi_api_key: "your_api_key"
- Import the modules in your playbooks (you can test the modules by running the
test_playbook.yml
playbook)