You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am testing on Ubuntu 16.04, I use the ubuntu as user and root as become_user.
the playbook sets the path to anaconda in /opt/conda/bin systemwide, in fact when I login either with root or ubuntu, it works fine.
However all tasks in the playbook that require anaconda fail. I fixed adding:
I don't know enough about the details of how ansible manages these things, especially wrt to the user and become_user setting. Not surprised that type of thing is needed though. Let us know if you fine a better way.
I am testing on Ubuntu 16.04, I use the
ubuntu
asuser
androot
asbecome_user
.the playbook sets the path to anaconda in
/opt/conda/bin
systemwide, in fact when I login either withroot
orubuntu
, it works fine.However all tasks in the playbook that require anaconda fail. I fixed adding:
to all tasks, but there must be a better way.
BTW cannot do at playbook level because
ansible_env.PATH
is undefined.Any suggestion?
The text was updated successfully, but these errors were encountered: