c12s-kubespray/roles/kubernetes/preinstall/tasks
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
..
0010-swapoff.yml Add capability to use swap, requires Kube 1.22 (#8241) 2021-11-30 00:52:56 -08:00
0020-verify-settings.yml Kata-Containers: add 2.3.0 (#8276) 2021-12-07 08:18:08 -08:00
0040-set_facts.yml containerd: change default resolvconf_mode to host_resolvconf (#8247) 2021-12-09 14:09:06 -08:00
0050-create_directories.yml Remove ovn4nfv support (#8265) 2021-12-03 11:56:35 -08:00
0060-resolvconf.yml containerd: change default resolvconf_mode to host_resolvconf (#8247) 2021-12-09 14:09:06 -08:00
0061-systemd-resolved.yml Enable systemd-resolved DNS resolution mode (#5318) 2019-11-06 03:33:52 -08:00
0062-networkmanager-unmanaged-devices.yml set check_mode to false (#8133) 2021-10-26 19:36:37 -07:00
0063-networkmanager-dns.yml Add kube-ipvs0/nodelocaldns to NetworkManager unmanaged-devices (#7315) 2021-03-03 07:27:20 -08:00
0070-system-packages.yml Fix kubespray flatcar ansible_os_family and ansible_distribution (#8029) 2021-10-01 09:11:23 -07:00
0080-system-configurations.yml [sysctl] set fs.may_detach_mounts=1 even when CRIs don't set it themselves (#8635) (#8642) 2022-03-22 05:31:44 -07:00
0090-etchosts.yml Revert "Fix external lb error (#8299)" (#8360) 2022-01-03 01:37:00 -08:00
0100-dhclient-hooks.yml [2.18] Run 0100-dhclient-hooks if dhcpclient is enabled (#8658) (#8661) 2022-03-30 10:08:25 -07:00
0110-dhclient-hooks-undo.yml [2.18] Run 0100-dhclient-hooks if dhcpclient is enabled (#8658) (#8661) 2022-03-30 10:08:25 -07:00
0120-growpart-azure-centos-7.yml Fix - Search root filesystem device (#8366) 2022-01-04 06:48:52 -08:00
main.yml [2.18] Run 0100-dhclient-hooks if dhcpclient is enabled (#8658) (#8661) 2022-03-30 10:08:25 -07:00