mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 22:04:43 +03:00
Fix wrong path for dhclient.conf on RedHat/CentOS
/etc/dhclient.conf is ignored on RedHat/CentOS Correct location is /etc/dhcp/dhclient.conf
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
- name: target dhclient conf/hook files for Red Hat family
|
- name: target dhclient conf/hook files for Red Hat family
|
||||||
set_fact:
|
set_fact:
|
||||||
dhclientconffile: /etc/dhclient.conf
|
dhclientconffile: /etc/dhcp/dhclient.conf
|
||||||
dhclienthookfile: /etc/dhcp/dhclient.d/zdnsupdate.sh
|
dhclienthookfile: /etc/dhcp/dhclient.d/zdnsupdate.sh
|
||||||
when: ansible_os_family == "RedHat"
|
when: ansible_os_family == "RedHat"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user