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

利用ansible的copy拷贝文件,报如下错:
"msg": "Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!"
已邀请:

采菊篱下 - 无分享不快乐 助力技术开源分享 运维一枚

赞同来自:

试试:
yum -y install libselinux-python

要回复问题请先登录注册