kubespray/roles/kubernetes/preinstall
Kenichi Omichi 503ab0f722
Run 0100-dhclient-hooks if dhcpclient is enabled (#8658)
If running Kubespray on static IP environments, a task was failed like:

  TASK [kubernetes/preinstall : Configure dhclient hooks for resolv.conf (RH-only)]
  fatal: [ak8s2]: FAILED! => {
    "changed": false, "checksum": "..",
    "msg": "Destination directory /etc/dhcp/dhclient.d does not exist"}

This adds a check for dhclientconffile for running 0100-dhclient-hooks to
run the task only if dhcpclient is enabled.
2022-03-29 00:11:11 -07:00
..
defaults Fix host DNS config 1) being edited too soon and 2) not working with NM (#8575) 2022-02-26 10:29:23 -08:00
files Preconfigure DNS stack and docker early 2016-12-09 17:30:55 +01:00
handlers Fix host DNS config 1) being edited too soon and 2) not working with NM (#8575) 2022-02-26 10:29:23 -08:00
meta remove atomic support because reached end of live (#5783) 2020-03-17 14:31:27 -07:00
tasks Run 0100-dhclient-hooks if dhcpclient is enabled (#8658) 2022-03-29 00:11:11 -07:00
templates [systemd-resolved] Fix DNS configuration according to docs/dns-stack.md and during reset of cluster (#8560) (#8561) 2022-03-14 02:08:22 -07:00
vars containerd: download containerd from upstream instead of using distro specific packages (#7970) 2021-10-20 08:47:58 -07:00
gen-gitinfos.sh Fix gen-gitinfos.sh 2016-08-23 10:15:30 +02:00