Paramatize dns
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user