Red Hat Bugzilla – Bug 1312441
no $HOME environment variable
Last modified: 2017-12-12 19:29:25 EST
Description of problem:
Breaks situations where ansible depends on it. Mostly when it expands to write to temporary files that usually go into $HOME/.ansible/tmp which gets 'expanded' to /.ansible/tmp that doesn't exist and is owned by root
Version-Release number of selected component (if applicable):
How reproducible: 100%
Steps to Reproduce:
1. Setup installer
2. Configure a mon via the HTTP API
Actual results: breaks with ansible output in the task, mentioning lack of permissions for $HOME/.ansible
Expected results: succeeds with no issues
Is there no other way to tell Ansible to write its files to somewhere else? like /tmp or $TMPDIR?
systemd adds $HOME to the environment by default, so we're good here.