ansible报错Aborting, target uses selinux but python bindings (libselinux-python) aren't installed
报错内容:
TASK [activemq : jvm configuration] **********************************************************
fatal: [1.16.1.10]: FAILED! => {
"changed": false,
"checksum": "9b18306fa15628e687c3a81332f9b
msg": "Aborting, target uses selinux but python bindings (libselinux-python) aren't installed
解决方法:
在客户端执行
yum install libselinux-python -y
即可