We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the main-handler currently is:
- name: Cleanup SDKMAN script file: path: '{{ sdkman_tmp_dir }}/sdkman_script' state: absent
and fails, if sdkman_user is 'root', because the sdkman_script then is owned by 'root' but attempted to be deleted by the ansible user.
It should be
- name: Cleanup SDKMAN script file: path: '{{ sdkman_tmp_dir }}/sdkman_script' state: absent become: '{{ sdkman_user != ansible_user_id }}' become_user: '{{ sdkman_user }}'
Using ansible-sdkman 1.7.0 with ansible [core 2.11.9]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
the main-handler currently is:
and fails, if sdkman_user is 'root', because the sdkman_script then is owned by 'root' but attempted to be deleted by the ansible user.
It should be
Using ansible-sdkman 1.7.0 with ansible [core 2.11.9]
The text was updated successfully, but these errors were encountered: