blob: 1481bbe2602cdb904706e2f10f2a5a2d549fb088 [file] [log] [blame]
---
# roles/dns-configure/tasks.yml
- name: Configure resolv.conf to use nameservers
template:
src="resolv.conf.j2"
dest="/etc/resolv.conf"
mode=0644 owner=root group=root
- name: Check that VM's can be found in DNS
shell: "dig +short {{ item.name }}.{{ site_suffix }} | grep {{ item.ipv4_last_octet }}"
with_items: "{{ head_vm_list }}"