GithubHelp home page GithubHelp logo

Comments (7)

KubeKyrie avatar KubeKyrie commented on May 26, 2024

Uninstalling selinux-policy is not expected, maybe it's bug.

from kubespray.

KubeKyrie avatar KubeKyrie commented on May 26, 2024

Oh, the packages which start with "container" could not be matched in ^containerd*

from kubespray.

liofko avatar liofko commented on May 26, 2024

In my case it matched
Since the * means no "d" at all as well (Zero or more occurrences)

For enforcing containerd, maybe its should be '+' ?
containerd_package: "{{ ansible_facts.packages.keys() | select('search', '^containerd+') }}"

from kubespray.

KubeKyrie avatar KubeKyrie commented on May 26, 2024

@liofko Could you please provide some screenshots to verify the existence of this problem?

from kubespray.

liofko avatar liofko commented on May 26, 2024

Hi,
This is the output in my case:
TASK [container-engine/docker : Docker | Remove docker package] ****************
ok: [node1] => (item=docker-compose-plugin)
ok: [node1] => (item=docker-buildx-plugin)
ok: [node1] => (item=docker-ce-cli)
ok: [node1] => (item=docker-ce-rootless-extras)
ok: [node1] => (item=docker-ce)
ok: [node1] => (item=container-selinux)
ok: [node1] => (item=containers-common)
ok: [node1] => (item=containerd.io)
Wednesday 03 April 2024 11:19:10 +0300 (0:00:42.913) 0:02:07.868 *******
Wednesday 03 April 2024 11:19:10 +0300 (0:00:00.158) 0:02:08.027 *******
Wednesday 03 April 2024 11:19:10 +0300 (0:00:00.106) 0:02:08.133 *******

After changing '^containerd*' to '^containerd+' Its deleted only "containerd.io"

from kubespray.

KubeKyrie avatar KubeKyrie commented on May 26, 2024

@liofko Good catch!
Have to say, it surprised me. I will open an PR to fix it later.

from kubespray.

KubeKyrie avatar KubeKyrie commented on May 26, 2024

/assign

from kubespray.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.