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 f635d224ed
commit 2624da6161

View file

@ -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"