blob: 1481bbe2602cdb904706e2f10f2a5a2d549fb088 [file] [log] [blame]
Zack Williams22e89932016-03-15 11:08:06 -07001---
2# roles/dns-configure/tasks.yml
3
4- name: Configure resolv.conf to use nameservers
Zack Williamsc56ac642016-03-15 11:08:47 -07005 template:
Zack Williams22e89932016-03-15 11:08:06 -07006 src="resolv.conf.j2"
7 dest="/etc/resolv.conf"
8 mode=0644 owner=root group=root
9
Zack Williams82c88e92016-08-08 13:54:20 -070010- name: Check that VM's can be found in DNS
11 shell: "dig +short {{ item.name }}.{{ site_suffix }} | grep {{ item.ipv4_last_octet }}"
12 with_items: "{{ head_vm_list }}"
13