c12s-kubespray/roles/kubernetes/preinstall/tasks
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
..
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 [calico] don't enable ipip encapsulation by default and use vxlan in CI (#8434) 2022-03-17 18:05:39 -07:00
0040-set_facts.yml Fix host DNS config 1) being edited too soon and 2) not working with NM (#8575) 2022-02-26 10:29:23 -08:00
0050-create_directories.yml Remove ovn4nfv support (#8265) 2021-12-03 11:56:35 -08:00
0060-resolvconf.yml Fix host DNS config 1) being edited too soon and 2) not working with NM (#8575) 2022-02-26 10:29:23 -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 Fix host DNS config 1) being edited too soon and 2) not working with NM (#8575) 2022-02-26 10:29:23 -08:00
0063-networkmanager-dns.yml Fix host DNS config 1) being edited too soon and 2) not working with NM (#8575) 2022-02-26 10:29:23 -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) 2022-03-21 17:36:13 -07:00
0090-etchosts.yml fix 0090-etchosts (#7634) 2022-01-11 01:03:16 -08:00
0100-dhclient-hooks.yml Run 0100-dhclient-hooks if dhcpclient is enabled (#8658) 2022-03-29 00:11:11 -07:00
0110-dhclient-hooks-undo.yml Run 0100-dhclient-hooks if dhcpclient is enabled (#8658) 2022-03-29 00:11:11 -07:00
0120-growpart-azure-centos-7.yml Fix - Search root filesystem device (#8366) 2022-01-04 06:48:52 -08:00
main.yml Run 0100-dhclient-hooks if dhcpclient is enabled (#8658) 2022-03-29 00:11:11 -07:00