<p>In the new <strong>Kubespray</strong> release <strong>containerd</strong> is set as default, but the old one isn't.</p>
<p>I want to change docker to containerd in old version and install it with that version.</p>
<p>When I looked the <code>offline.yml</code> I don't see any option for <strong>containerd</strong> in <strong>Redhat</strong>. Below is the code from <code>offline.yml</code>:</p>
<pre><code># CentOS/Redhat/AlmaLinux/Rocky Linux
## Docker / Containerd
docker_rh_repo_base_url: &quot;{{ yum_repo }}/docker-ce/$releasever/$basearch&quot;
docker_rh_repo_gpgkey: &quot;{{ yum_repo }}/docker-ce/gpg&quot;

# Fedora
## Docker
docker_fedora_repo_base_url: &quot;{{ yum_repo }}/docker-ce/{{ ansible_distribution_major_version }}/{{ ansible_architecture }}&quot;
docker_fedora_repo_gpgkey: &quot;{{ yum_repo }}/docker-ce/gpg&quot;
## Containerd
containerd_fedora_repo_base_url: &quot;{{ yum_repo }}/containerd&quot;
containerd_fedora_repo_gpgkey: &quot;{{ yum_repo }}/docker-ce/gpg&quot;

# Debian
## Docker
docker_debian_repo_base_url: &quot;{{ debian_repo }}/docker-ce&quot;
docker_debian_repo_gpgkey: &quot;{{ debian_repo }}/docker-ce/gpg&quot;
## Containerd
containerd_debian_repo_base_url: &quot;{{ ubuntu_repo }}/containerd&quot;
containerd_debian_repo_gpgkey: &quot;{{ ubuntu_repo }}/containerd/gpg&quot;
containerd_debian_repo_repokey: 'YOURREPOKEY'

# Ubuntu
## Docker
docker_ubuntu_repo_base_url: &quot;{{ ubuntu_repo }}/docker-ce&quot;
docker_ubuntu_repo_gpgkey: &quot;{{ ubuntu_repo }}/docker-ce/gpg&quot;
## Containerd
containerd_ubuntu_repo_base_url: &quot;{{ ubuntu_repo }}/containerd&quot;
containerd_ubuntu_repo_gpgkey: &quot;{{ ubuntu_repo }}/containerd/gpg&quot;
containerd_ubuntu_repo_repokey: 'YOURREPOKEY'
</code></pre>
<p>How should I set containerd in <code>offline.ym</code>l and how to find which version of containerd is stable with this Kubespray?</p>
<p>Thanks for answering</p>

Orkun
<p>Always try to dig in history in documentation. Since you're looking for outdated version see <a href="https://github.com/kubernetes-sigs/kubespray/commit/8f2b0772f9ca2d146438638e1fb9f7484cbdbd55#:%7E:text=calicoctl%2Dlinux%2D%7B%7B%20image_arch%20%7D%7D%22-,%23%20CentOS/Redhat,extras_rh_repo_gpgkey%3A%20%22%7B%7B%20yum_repo%20%7D%7D/containerd/gpg%22,-%23%20Fedora" rel="nofollow noreferrer">this fragment</a> of offline.yaml:</p>
<pre class="lang-yaml prettyprint-override"><code># CentOS/Redhat
## Docker
## Docker / Containerd
docker_rh_repo_base_url: &quot;{{ yum_repo }}/docker-ce/$releasever/$basearch&quot;
docker_rh_repo_gpgkey: &quot;{{ yum_repo }}/docker-ce/gpg&quot;

## Containerd
extras_rh_repo_base_url: &quot;{{ yum_repo }}/centos/{{ ansible_distribution_major_version }}/extras/$basearch&quot;
extras_rh_repo_gpgkey: &quot;{{ yum_repo }}/containerd/gpg&quot;
</code></pre>
<p>Reference: <a href="https://github.com/kubernetes-sigs/kubespray" rel="nofollow noreferrer"><em>kubespray documentation</em></a>.</p>
