I’ve noticed the documentation has moved from using $HOME to ~/ in various examples when referencing the Ansible.cfg file.
I’m currently targeting the use of $USER to help define remote_path. Will the behavior of using ENV variables in ansible.cfg remain (at least for the foreseeable future), or should I use another means of defining user-specific temp space?
To clarify, ansible.cfg itself does not support environment variables.
SOME settings, like remote_path do get executed inside a shell context.
This specific change was made because $HOME is not always set but
`~user` should always be 'correctly translated' ... though there are a
couple of cases in which it is not, they are less than the issues we
had with $HOME.