HI all!
I try to install some packages via the Ansible yum Module on CentOS 6 (python --version
Python 2.6.6) systems but I getting the following error:
I’ve started the Module-Script with root - permission
/dev/shm/ansible-tmp-root/ansible-tmp-1491206776.36-130095664290190/yum.py
error message
{“msg”: “[Errno 13] Permission denied”, “failed”: true, “cmd”: “/etc/rpm -q --qf ‘%{name}-%{version}-%{release}.%{arch}’ libselinux-python”, “rc”: 13, “invocation”: {“module_args”: {“name”: [“libselinux-python”, “ntp”], “list”: null, “disable_gpg_check”: false, “conf_file”: null, “install_repoquery”: true, “state”: “installed”, “disablerepo”: null, “update_cache”: false, “enablerepo”: null, “exclude”: null, “validate_certs”: true}}}
On my CentOS7 systems works the same very well.
Any Ideas?
Thanks in advance
Martin