homeserver/playbooks/on-off/set_dns_resolver.yml
mg 65f59b303e munin: zfs monitoring (#6)
gitlab-user entfernt

typo

munin-vms entfernt

DNS-Resolver angepasst

zfs_list hinzugefügt

Vars verschoben und extra_plugins eingebaut

PR eingebaut: https://github.com/geerlingguy/ansible-role-munin-node/pull/21/files

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#6
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-02-26 17:24:14 +01:00

12 lines
256 B
YAML

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