- Nov 18, 2022
-
-
ERIK authored
Signed-off-by: bo.jiang <bo.jiang@daocloud.io> Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
-
- Oct 31, 2022
-
-
lijin-union authored
-
- Aug 04, 2022
-
-
ERIK authored
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
-
- Mar 11, 2022
-
-
Unai Arríen authored
* Add epoch to docker-ce and docker-ce-cli packages to ensure docker upgrade * Split container-engine redhat vars to support legacy RHEL 7 version management * Support ansible_distribution_major_version when disvering vars with ansible_os_family
-
- Dec 06, 2021
-
-
Cristian Calin authored
* Containerd: use cgroupsv2 where available (fedora) * Docker: use cgroupsv2 where available (fedora) * cri-o: use cgroupsv2 where available (fedora)
-
- Oct 01, 2021
-
-
Iago Santos authored
Closes https://github.com/kubernetes-sigs/kubespray/issues/8028 Signed-off-by: Iago Santos <iago.santos.pardo@adfinis.com>
-
- Jul 12, 2021
-
-
Cristian Calin authored
* Ansible: move to Ansible 3.4.0 which uses ansible-base 2.10.10 * Docs: add a note about ansible upgrade post 2.9.x * CI: ensure ansible is removed before ansible 3.x is installed to avoid pip failures * Ansible: use newer ansible-lint * Fix ansible-lint 5.0.11 found issues * syntax issues * risky-file-permissions * var-naming * role-name * molecule tests * Mitogen: use 0.3.0rc1 which adds support for ansible 2.10+ * Pin ansible-base to 2.10.11 to get package fix on RHEL8
-
- Apr 23, 2021
-
-
Cristian Calin authored
* AlmaLinux: ansible>2.9.19 is needed to know about AlmaLinux * AlmaLinux: identify as a centos derrivative * AlmaLinux: add AlmaLinux to checks for CentOS * Use ansible_os_family to compare family and not distribution
-
- Feb 10, 2021
-
-
Etienne Champetier authored
By default Ansible stat module compute checksum, list extended attributes and find mime type To find all stat invocations that really use one of those: git grep -F stat. | grep -vE 'stat.(islnk|exists|lnk_source|writeable)' Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
Cristian Calin authored
`containerd.io` is the companion package of `docker-ce` and is the proper package name. This is needed to avoid apt upgrade/dist-upgrade from breaking kubernetes.
-
- Jan 25, 2021
-
-
Etienne Champetier authored
This was introduced in 143e2272 Extra repo is enabled by default in CentOS, and is not the right repo for EL8 Instead of adding a CentOS repo to RHEL, enable the needed RHEL repos with rhsm_repository For RHEL 7, we need the "extras" repo for container-selinux For RHEL 8, we need the "appstream" repo for container-selinux, ipvsadm and socat Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
-
- Jan 19, 2021
-
-
Etienne Champetier authored
yum_repository expect really different params, so nothing to factor here Ubuntu is not an ansible_os_family, the OS family for Ubuntu is Debian Check for ansible_pkg_mgr == apt Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
-
Etienne Champetier authored
we don't need rpm_key, so nothing to factor here Ubuntu is not an ansible_os_family, the OS family for Ubuntu is Debian Check for ansible_pkg_mgr == apt Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
-
Etienne Champetier authored
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
-
Etienne Champetier authored
Here the desciption from Ansible docs Corresponds to the --force-yes to apt-get and implies allow_unauthenticated: yes This option will disable checking both the packages' signatures and the certificates of the web servers they are downloaded from. This option *is not* the equivalent of passing the -f flag to apt-get on the command line **This is a destructive operation with the potential to destroy your system, and it should almost never be used.** Please also see man apt-get for more information. Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
-
- Jan 14, 2021
-
-
Etienne Champetier authored
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
-
Etienne Champetier authored
Only CentOS 7 uses Linux 3.10, all other OSs have more recent kernels Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
-
Etienne Champetier authored
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
-
Etienne Champetier authored
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
-
Etienne Champetier authored
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
-
Etienne Champetier authored
This was introduced in ef7f5edb obsoletes=0 is not present in the official repo config https://download.docker.com/linux/centos/docker-ce.repo so it might not be needed for some time Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
-
- Jan 11, 2021
-
-
Etienne Champetier authored
no_proxy is a pain to get right, and having proxy variables present causes issues (k8s components get proxy configuration after upgrade, see #7100) It's better to only configure what require proxy: - the runtime (containerd/docker/crio) - the package manager + apt_key - the download tasks Tested with the following clusters - 4 CentOS 8 nodes - 1 Ubuntu 20.04 node Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
-
- Jan 04, 2021
-
-
Etienne Champetier authored
All packages have proper dependencies in latest versions Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
-
- Dec 24, 2020
-
-
Etienne Champetier authored
Upgrading docker / containerd without adapting the configuration might break the node, so disable docker-ce repo by default. We are already using dpkg hold for Debian. All containerd.io packages provide /usr/bin/runc, so no need to check yum_conf was never used for containerd module_hotfixes should not be needed with the EL8 repo Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
-
- Dec 05, 2020
-
-
Sander Klein authored
This will make sure an upgrade doesn't upgrade the docker cli.
-
- Dec 04, 2020
-
-
OwenTuz authored
* Ensure libseccomp is installed before starting containerd on CentOS 8 * Simplify libseccomp install on CentOS 8 - Uses `package` module - Replaces complex version check with 'state: latest'. The version must be > 2.3 when using with cri-o. - Removes unnecessary `not is_ostree` condition as CentOS 8 does not use ostree
-
- Nov 24, 2020
-
-
Barry Melbourne authored
-
- Aug 28, 2020
-
-
Barry Melbourne authored
-
- Jul 28, 2020
-
-
Maxime Guyot authored
-
- Jul 27, 2020
-
-
Maxime Guyot authored
-
- Jun 05, 2020
-
-
Lovro Seder authored
* Manage containerd.io package with docker CRI. * Refactor common containerd stuff to separate role * Fix check mode and unnecessary shell.
-
- Apr 18, 2020
-
-
Maxime Guyot authored
-
- Apr 09, 2020
-
-
Denis Kadyshev authored
* Fix proxy and module_hotfixes On CentOS 8 with proxy ansible render inline `proxy` and `module_hotfixes` options. For example: `proxy=http://127.0.0.1:3128module_hotfixes=True` But expected result: ``` proxy=http://127.0.0.1:3128 module_hotfixes=True ``` * Use ini_file module for work with ini files * Prevent duplicates proxy= option in /etc/yum.conf Module `lineinfile` is weak, use most powerful module `ini_file` and add or remove `proxy=` when `http_proxy` is defined or not.
-
- Mar 30, 2020
-
-
Christopher Randles authored
Signed-off-by: Chris Randles <randles.chris@gmail.com>
-
- Mar 25, 2020
-
-
Etienne Champetier authored
we can't set module_hotfixes=True using yum_repository ansible module Fixes 38688a44 (keep docker-ce.repo name) Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
-
- Mar 18, 2020
-
-
spaced authored
-
- Mar 17, 2020
-
-
spaced authored
* fedora coreos support - bootstrap and new fact for * fedora coreos support - fix bootstrap condition * fedora coreos support - allow customize packages for fedora coreos bootstrap * fedora coreos support - prevent install ptyhon3 and epel via dnf for fedora coreos * fedora coreos support - handle all ostree like os in same way * fedora coreos support - handle all ostree like os in same way for crio * fedora coreos support - add fcos documentations
-
- Feb 23, 2020
-
-
Victor Morales authored
This 38688a44 change replaces the value for dockerproject_.+_repo_.+ docker variables but their new value was previously defined in other variables. This change removes the dockerproject_.+_repo_.+ docker variables in favor of the older ones.
-
- Feb 18, 2020
-
-
Sylvain Chateau authored
-
- Jan 17, 2020
-
-
Matthew Mosesohn authored
* Change dockerproject.org to download.docker.com dockerproject.org was deprecated in 2017 and has gone down. * Restore yum repo for containerd Change-Id: I883bb512a2164a85865b1bd4fb569af0358c8c2b Co-authored-by: Craig Rodrigues <rodrigc@crodrigues.org>
-