Ansible debug permissions of ansible scripts

Welcome to Programming Tutorial official website. Today - we are going to cover how to solve / find the solution of this error Ansible debug permissions of ansible scripts on this date .

I have a user AAA, and set my remote path (successfully) to /home/AAA/.ansible_tmp/, and ansible successfully ssh’ed into the box with AAA, and I still get permission denied on the python scripts of ansible itself.

This seems rather strange, to me, and I’m trying to debug with -vvv, but to no avail.

Can I somehow check the file permissions of the remote ansible scripts?

Answer

To answer my own question; turns out the problem had nothing to do with Ansible itself. During installation, I had selected the “ACSC Essential Eight” security policy, which configured fapolicyd to prevent the execution of untrusted scripts.By allowing execution in my home dir, I was able to resolve the issue.

Leave a Reply

Your email address will not be published. Required fields are marked *