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:
parent
f635d224ed
commit
2624da6161
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue