Hi all,
My Ansible server has lost the ability to login to any of my hosts (itself included) and I am hoping others have had a similar issue.
The server in question is a RHEL7 server that is required to be configured according to the DISA STIG. In particular, after implementing RHEL-07-020023 - which requires administrative groups in sudoers to have the sysadm_r and sysadm_t role applied, Ansible completely loses its ability to log into the hosts. The error is as follows:
Permission denied:
unix_listener: cannot bind to path: /root/.ansible/cp/
When switching back to unconfined_r and unconfined_t, Ansible works as expected.
Unfortunately I’m not able to dispute with my security department as to why the sysadm context is a just a drunken version of the unconfined context, so if anyone has any suggestions I would be extremely grateful.
- Ryan P