-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed: set global app version #24
Comments
Indeed this issue is fixed by changing the task from:
to
I'm not sure sure how this changes affects the v0.8-based versions, and it is a trivial 1-line change, so I haven't made a PR for now. |
stephanGarland
added a commit
to stephanGarland/ansible-role-asdf
that referenced
this issue
Jan 7, 2023
FYI, from asdf v0.10.2, this file was added : https://github.com/asdf-vm/asdf/blob/v0.10.2/lib/functions/versions.bash and line 23, for global command, they force the use of $HOME. |
fapeliberty
added a commit
to eliberty/ansible-role-asdf
that referenced
this issue
Feb 7, 2023
klaus993
added a commit
to lambdaclass/ansible-role-asdf
that referenced
this issue
Feb 16, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While installing erlang and elixir, the role never gets past the step
TASK [asdf : set global app versions]
The error is:
Notice the doubling of the path in
/home/foo//home/foo/.tool-versions
. This may (or may not!) be related to the fact thatexport ASDF_DEFAULT_TOOL_VERSIONS_FILENAME="/home/foo/.tool-versions"
gets written to/etc/profile.d/asdf.sh
(whereas the var name suggests that it should beASDF_DEFAULT_TOOL_VERSIONS_FILENAME=".tool-versions"
, thereby triggering the path-doubling). Changing that manually doesn't help as it gets overwritten on every ansible run.The relevant part of my vars section:
Note that it uses asdf v0.10.2 versus v0.8.1 in
defaults/main.yml
.Finally the role is just called with the role name (and works fine until the task setting globals), nothing special to show.
The text was updated successfully, but these errors were encountered: