21 lines
472 B
YAML
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 |