set fixed DNS server

closes #8
This commit is contained in:
Pim Kunis 2023-04-17 09:39:16 +02:00
parent 90b1aaff2f
commit 8bf7033f8b
3 changed files with 1 additions and 5 deletions

View file

@ -7,10 +7,6 @@
- name: Install services
hosts: all
pre_tasks:
- name: Copy resolv.conf
copy:
src: resolv.conf
dest: /etc/resolv.conf
- name: Update repositories
apt:
autoremove: true

View file

@ -1 +0,0 @@
nameserver 192.168.30.1

View file

@ -26,4 +26,5 @@ module "vm" {
use_host_cert = false
fixed_address = "192.168.30.7/24"
mac = "CA:FE:C0:FF:EE:07"
fixed_dns = "192.168.30.1"
}