This website requires JavaScript.
Explore
Help
Register
Sign In
kubernetes-sigs
/
kubespray
mirror of
https://github.com/kubernetes-sigs/kubespray.git
Watch
1
Star
0
Fork
You've already forked kubespray
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
e3ea19307a
kubespray
/
roles
/
container-engine
/
containerd-common
/
meta
/
main.yml
3 lines
27 B
YAML
Raw
Normal View
History
Unescape
Escape
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-09 07:58:18 +08:00
---
pre-commit autocorrected files (#9750)
2023-02-06 17:35:16 +08:00
allow_duplicates
:
true