Paramatize dns

This commit is contained in:
2018-04-04 14:45:00 -04:00
parent 5776417314
commit ca5881c795
2 changed files with 2 additions and 1 deletions

View File

@@ -15,3 +15,4 @@ proxmox_user: "root@pam"
proxmox_host: "10.0.0.153"
proxmox_password: "{{ lookup('env', 'PROXMOX_PASSWORD') }}"
ubuntu_template_vm_name: "ubuntu-server-1404"
dns_server: "10.0.0.204"

View File

@@ -4,4 +4,4 @@ iface {{ interface_name }} inet static
address {{ ansible_host }}
netmask 255.255.255.0
gateway 10.0.0.1
dns-nameservers 10.0.0.204 8.8.8.8
dns-nameservers {{ dns_server }} 8.8.8.8