报错内容:
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
时间: 2024-09-29 05:56:53