kubespray/roles/container-engine
Chad Swenson 3dc384a17a
Allow `containerd-common` to execute multiple times per play (#9543)
The `containerd-common` role is responsible for gathering OS specific variables from the vars directory of the roles that include or import it. `containerd-common` is imported via role dependency by a total of two roles, `container-engine/docker`, and `container-engine/containerd`.

containerd-common is needed by both the docker and containerd roles as a dependency when:
- containerd is selected as the container engine
- a docker install is detected and needs to be removed
- apt is the package manager

However, by default, roles can not be invoked more than once in the same play, unless `allow_duplicates: true` is set for that role. This results in the failure of the `containerd | Remove containerd repository` task, since only the docker vars will be loaded in the play, and `containerd_repo_info.repos`, normally populated by containerd/vars, is left empty.

This change sets `allow_duplicates: true` for `containerd-common` which fixes the currently failing containerd tasks if docker was detected and removed in the same play.
2022-12-08 15:58:18 -08:00
..
containerd Update the number of nofile limits in containerd (#9507) 2022-11-25 15:12:04 -08:00
containerd-common Allow `containerd-common` to execute multiple times per play (#9543) 2022-12-08 15:58:18 -08:00
cri-dockerd cri-dockerd: add restart of docker.service (#9205) 2022-08-24 05:50:02 -07:00
cri-o use cri-o from upstream instead of kubic/OBS (#9374) 2022-10-19 05:47:05 -07:00
crictl [download] fix dependencies for downloads 2022-06-15 00:57:20 -07:00
crun Download crun using download_file.yml (#7370) 2021-03-19 08:40:33 -07:00
docker Add docker support for openEuler linux (#9498) 2022-11-17 18:18:30 -08:00
docker-storage Fix risky-file-permissions (#8370) 2022-01-09 01:51:12 -08:00
gvisor Replace callback_whitelist with callbacks_enabled (#8759) 2022-06-09 13:15:45 -07:00
kata-containers Add check_typo job (#9361) 2022-10-07 02:21:53 -07:00
meta [docker] use cri-dockerd instead of dockershim for any kubernetes version deployed with docker as the container_manager 2022-06-15 00:57:20 -07:00
nerdctl [kubeadm] use v1beta3 configuration version 2022-06-15 00:57:20 -07:00
runc Define ostree variable for runc (#9321) 2022-09-24 13:00:11 -07:00
skopeo/tasks use cri-o from upstream instead of kubic/OBS (#9374) 2022-10-19 05:47:05 -07:00
validate-container-engine/tasks Hotfix containerd restart (#9322) 2022-09-24 13:14:04 -07:00
youki Replace callback_whitelist with callbacks_enabled (#8759) 2022-06-09 13:15:45 -07:00