Files
Unifi-NextDNS/playbooks/config-nextdns.yml
T
2023-12-27 11:42:24 -05:00

21 lines
472 B
YAML

---
- name: Install and Configure NextDNS CLI
hosts: UDM
gather_facts: yes
tasks:
- name: Download and install NextDNS CLI
ansible.builtin.expect:
command: sh -c 'sh -c "$(curl -sL https://nextdns.io/install)"'
responses:
Question:
- i
- e3448e
- Y
- Y
- Y
- name: Start NextDNS CLI
ansible.builtin.command:
cmd: nextdns start
ignore_errors: yes