Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 1 | --- |
2 | # roles/test-prep/tasks/main.yml | ||||
3 | |||||
4 | - name: Add local resolver to /etc/resolv.conf | ||||
5 | lineinfile: | ||||
6 | dest=/etc/resolv.conf | ||||
7 | insertafter=".*DO NOT EDIT THIS FILE.*" | ||||
8 | line="nameserver 192.168.122.1" | ||||
9 |