Browse Source

Fix wrong path for dhclient.conf on RedHat/CentOS

/etc/dhclient.conf is ignored on RedHat/CentOS
Correct location is /etc/dhcp/dhclient.conf
pull/755/head
Alexander Block 7 years ago
parent
commit
a9684648ab
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes/preinstall/tasks/set_resolv_facts.yml

2
roles/kubernetes/preinstall/tasks/set_resolv_facts.yml

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

Loading…
Cancel
Save