Closed scuben closed 6 years ago
👎 If you really need to mount /tmp with "noexec", which many disagree on it providing any extra security, you can set the environment variables at a playbook level
I don't see the need to complicate the role for such edge case when it can be solved in your playbooks (https://docs.ansible.com/ansible/2.6/user_guide/playbooks_environment.html)
I run into problem when having /tmp dir mounted with "noexec". Even if remote_tmp is set to something else than /tmp the git module ignores it. Only current working fix is to set TMP dir environments on the git task.
Open issue on ansible: https://github.com/ansible/ansible/issues/30064