homeserver/playbooks/on-off/set_dns_resolver.yml
Quotengrote c994071b7c
Linter Errors (#48)
* Linter 208 - set_dns_resolver

* Linter 208 - acng
2020-10-14 18:49:48 +02:00

12 lines
240 B
YAML

---
- hosts: dns
become: yes
tasks:
- name: Setze DNS-Resolver fuer pihole-*
lineinfile:
path: /etc/resolv.conf.head
line: nameserver 192.168.2.2
create: yes
backrefs: false
mode: 0664