Translated message

A translation of this page exists in English.

在没有安装 libselinux-python 的 RHEL 8 中,Ansible playbook 会失败

Solution In Progress - Updated -

Issue

  • 当针对 RHEL8 系统运行 Ansible playbook 时,会出现以下错误,即使在安装了 python3-libselinux. 软件包之后

    Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!".
    

Environment

  • Red Hat Enterprise Linux 8
  • Ansible Engine 2.8+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content