add resolv_mods=no to /etc/sysconfig/network so rebooting doesn't nuke our name servers
This commit is contained in:
parent
726ccd2929
commit
497afe78cc
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@
|
|||
tags:
|
||||
- config
|
||||
|
||||
- name: make sure our resolv.conf is the one being used - set RESOLV_MODS=no in /etc/sysconfig/network
|
||||
lineinfile: dest=/etc/sysconfig/network backup=yes state=present line='RESOLV_MODS=no' regexp=^RESOLV_MODS=
|
||||
tags:
|
||||
- config
|
||||
|
||||
- name: global default packages to install
|
||||
action: yum state=installed name=$item
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue