# Unifi-NextDNS: Automated with Ansible This repo serves to install/reinstall NextDNS CLI on UnifiOS. ### Pre Requisites SSH key based authentication must be setup to the Unifi device. ### To Use These Playbooks Simply clone this repository and follow the readme below. ### File structure: `````` ├── ansible.cfg ├── inventory.yml └── playbooks ├── config-nextdns.yml `````` ## Introduction This repo has been built to streamline installing or reinstalling NextDNS CLI after Unifi OS upgrades. To get started, clone the github repo that goes along with this post: `git clone https://madereddy.com/git/jeet/Unifi-NextDNS.git` `cd Unifi-NextDNS` ## Usage To install/reinstall NextDNS CLI you will use the config-nextdns.yml playbook. `ansible-playbook playbooks/config-nextdns.yml`