c12s-kubespray/roles/kubernetes/preinstall
Kenichi Omichi f091b1cfd7
[2.18] Run 0100-dhclient-hooks if dhcpclient is enabled (#8658) (#8661)
* 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.

* Remove centos7 molecule while opensuse mirror is flaky

Co-authored-by: Florian Ruynat <16313165+floryut@users.noreply.github.com>
2022-03-30 10:08:25 -07:00
..
defaults Revert "Fix external lb error (#8299)" (#8360) 2022-01-03 01:37:00 -08:00
files Preconfigure DNS stack and docker early 2016-12-09 17:30:55 +01:00
handlers containerd: change default resolvconf_mode to host_resolvconf (#8247) 2021-12-09 14:09:06 -08:00
meta remove atomic support because reached end of live (#5783) 2020-03-17 14:31:27 -07:00
tasks [2.18] Run 0100-dhclient-hooks if dhcpclient is enabled (#8658) (#8661) 2022-03-30 10:08:25 -07:00
templates fix resolved config (#8351) 2022-01-03 00:06:59 -08: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