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:
Alexander Block 2016-12-15 10:11:16 +01:00
parent 114ab5e4e6
commit a9684648ab

View file

@ -43,7 +43,7 @@
- name: target dhclient conf/hook files for Red Hat family
set_fact:
dhclientconffile: /etc/dhclient.conf
dhclientconffile: /etc/dhcp/dhclient.conf
dhclienthookfile: /etc/dhcp/dhclient.d/zdnsupdate.sh
when: ansible_os_family == "RedHat"