kubespray/roles
Etienne Champetier 42702dc1a3 Fixes for CentOS 8 (#5213)
* Fix python3-libselinux installation for RHEL/CentOS 8

In bootstrap-centos.yml we haven't gathered the facts,
so #5127 couldn't work

Minimum ansible version to run kubespray is 2.7.8,
so ansible_distribution_major_version is defined an there is no need to default it

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>

* Restart NetworkManager for RHEL/CentOS 8

network.service doesn't exist anymore
 # systemctl status network
 Unit network.service could not be found.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>

* Add module_hotfixes=True to docker / containerd yum repo config

https://bugzilla.redhat.com/show_bug.cgi?id=1734081
https://bugzilla.redhat.com/show_bug.cgi?id=1756473
Without this setting you end up with the following error:
 # yum install docker-ce
 Failed to set locale, defaulting to C
 Last metadata expiration check: 0:03:21 ago on Thu Sep 26 22:00:05 2019.
 Error:
  Problem: package docker-ce-3:19.03.2-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
   - cannot install the best candidate for the job
   - package containerd.io-1.2.2-3.3.el7.x86_64 is excluded
   - package containerd.io-1.2.2-3.el7.x86_64 is excluded
   - package containerd.io-1.2.4-3.1.el7.x86_64 is excluded
   - package containerd.io-1.2.5-3.1.el7.x86_64 is excluded
   - package containerd.io-1.2.6-3.3.el7.x86_64 is excluded
 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2019-12-09 01:37:10 -08:00
..
adduser fix useradd etcd (#5281) 2019-11-11 03:27:41 -08:00
bastion-ssh-config Adding "-F /dev/null" to load null SSH config file. (#4933) 2019-07-02 01:53:08 -07:00
bootstrap-os Fixes for CentOS 8 (#5213) 2019-12-09 01:37:10 -08:00
container-engine Fixes for CentOS 8 (#5213) 2019-12-09 01:37:10 -08:00
download Add support to Ansible 2.9 (#5361) 2019-12-05 07:24:32 -08:00
etcd Add support to Ansible 2.9 (#5361) 2019-12-05 07:24:32 -08:00
kubernetes Fixes for CentOS 8 (#5213) 2019-12-09 01:37:10 -08:00
kubernetes-apps Add support to Ansible 2.9 (#5361) 2019-12-05 07:24:32 -08:00
kubespray-defaults Add support for k8s v1.17.0-rc.1, remove hyperkube (#5378) 2019-11-28 05:41:03 -08:00
network_plugin Add support to Ansible 2.9 (#5361) 2019-12-05 07:24:32 -08:00
recover_control_plane Switch /root references to ansible_env.HOME (#4842) 2019-06-06 02:06:11 -07:00
remove-node Fix issue in remove-node/post-remove task (#5185) (#5186) 2019-10-10 05:17:43 -07:00
reset Fixes for CentOS 8 (#5213) 2019-12-09 01:37:10 -08:00
upgrade Fix Ansible-lint error [E502] (#4743) 2019-05-16 00:27:43 -07:00
win_nodes/kubernetes_patch ansible-lint: add spaces around variables [E206] (#4699) 2019-05-02 14:24:21 -07:00