mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-18 05:01:21 -03:30
add nodnsupdate hook for RedHat
This commit is contained in:
parent
98fe2c02b2
commit
1d1d8b9c28
@ -61,5 +61,10 @@
|
||||
|
||||
- name: disable resolv.conf modification by dhclient
|
||||
copy: src=dhclient_nodnsupdate dest=/etc/dhcp/dhclient-enter-hooks.d/nodnsupdate mode=u+x backup=yes
|
||||
when: ansible_os_family == "Debian"
|
||||
|
||||
- name: disable resolv.conf modification by dhclient
|
||||
copy: src=dhclient_nodnsupdate dest=/etc/dhcp/dhclient.d/nodnsupdate mode=u+x backup=yes
|
||||
when: ansible_os_family == "RedHat"
|
||||
|
||||
- meta: flush_handlers
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user