manage DNS with resolv.conf again

This commit is contained in:
Pim Kunis 2023-04-24 00:00:28 +02:00
parent 48d35b39c0
commit 39d94671de
2 changed files with 6 additions and 0 deletions

View file

@ -6,6 +6,11 @@
- name: Install services
hosts: all
pre_tasks:
- name: Copy resolv.conf
copy:
src: resolv.conf
dest: /etc/resolv.conf
roles:
- {role: 'setup-apt', tags: 'setup-apt'}
- {role: 'dnsmasq', tags: 'dnsmasq'}

1
ansible/resolv.conf Normal file
View file

@ -0,0 +1 @@
nameserver 192.168.30.1