You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
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?
Brian Coca
unread,
Feb 26, 2018, 2:33:24 PM2/26/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
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.