Undo fixes to resolvconf and dhclient hooks for rhel
For reasons we're yet to know, the recent fix for dhclient hooks to the resolvconf works only for debian family. Undo the fix for rhel family, unless RCA finished and new fix is submitted. Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
This commit is contained in:
parent
1938c96239
commit
b80f6be696
1 changed files with 1 additions and 2 deletions
|
@ -114,8 +114,7 @@
|
||||||
when: ansible_os_family == "Debian"
|
when: ansible_os_family == "Debian"
|
||||||
|
|
||||||
- name: disable resolv.conf modification by dhclient
|
- name: disable resolv.conf modification by dhclient
|
||||||
copy: src=dhclient_nodnsupdate dest=/etc/dhcp/dhclient.d/znodnsupdate mode=u+x backup=yes
|
copy: src=dhclient_nodnsupdate dest=/etc/dhcp/dhclient.d/nodnsupdate mode=u+x backup=yes
|
||||||
notify: Dnsmasq | restart network
|
|
||||||
when: ansible_os_family == "RedHat"
|
when: ansible_os_family == "RedHat"
|
||||||
|
|
||||||
- name: update resolvconf
|
- name: update resolvconf
|
||||||
|
|
Loading…
Reference in a new issue