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

20 lines
474 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