You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
294 B

- hosts: attitude-adjuster
become: yes
tasks:
- name: allow access to dns
ufw:
rule: allow
name: DNS
notify: restart pihole
handlers:
- name: restart pihole
docker_container:
name: pihole
restart: yes
ignore_errors: yes