How to set the ES_TMPDIR environment variable with ansible-elasticsearch

We're using the ansible-elasticsearch ansible role to configure our instances, and so far, it's working well. There's one problem we're running into, and that is that, due to government security requirements, /tmp needs to be on it's own partition and have the noexec flag set. Looking at the documentation, it seems like we can change the ES_TMPDIR environment variable to change the temp directory, but I don't see a way to do this with the role itself.

I can probably submit a merge request to allow that configuration, but I'm not able to full test the fix with anything other than CentOS 7. Can anyone help me get this resolved?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.