ansible报错Aborting, target uses selinux but python bindings (libselinux-python) aren't installed

Posted hch的随笔 成功的秘诀在于恒心—迪斯雷利

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ansible报错Aborting, target uses selinux but python bindings (libselinux-python) aren't installed相关的知识,希望对你有一定的参考价值。

报错内容:

TASK [activemq : jvm configuration] **********************************************************
fatal: [172.16.1.10]: FAILED! => {"changed": false, "checksum": "9b18306fa15628e687c3a81332f9bmsg": "Aborting, target uses selinux but python bindings (libselinux-python) aren\'t installed

 解决方法:

网上说 yum install libselinux-python -y 即可

 

转自

ansible报错Aborting, target uses selinux but python bindings (libselinux-python) aren\'t installed - Peterer~ - 博客园 https://www.cnblogs.com/Peter2014/p/7942897.html

以上是关于ansible报错Aborting, target uses selinux but python bindings (libselinux-python) aren't installed的主要内容,如果未能解决你的问题,请参考以下文章

使用Ansible搭建LNMP

用ansible剧本搭建lnmp

svn提交报错:svn: Aborting commit:XXXXXremains in conflict 求指导

mysql报错--initialize specified but the data directory has files in it. Aborting.

部署LNMP架构时安装MySQL的报错(--initialize specified but the data directory has files in it. Aborting.)!

[ERROR] Aborting