Currently, when running in an environment like Ansible Tower, it may be hard to understand the root cause of problems. Tower runs playbooks in a bubblewrap by default, which makes for some non-obvious problems when a file that definitely exists somewhy cannot be found. Also, right now any permission problems would be reported as a missing file.
This change adds more granular logging around searching for the token in $HOME/.vault-token file.
Currently, when running in an environment like Ansible Tower, it may be hard to understand the root cause of problems. Tower runs playbooks in a bubblewrap by default, which makes for some non-obvious problems when a file that definitely exists somewhy cannot be found. Also, right now any permission problems would be reported as a missing file.
This change adds more granular logging around searching for the token in
$HOME/.vault-token
file.