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

Posted 皮特王同学

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 即可,实测不能解决;最佳实践是内网环境下直接关闭selinux,实测permissive等级不行,必须disabled。


以上是关于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