Skip to content
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

non-privileged install #17

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

non-privileged install #17

wants to merge 3 commits into from

Conversation

urisimchoni
Copy link

This pull request facilitates non-privileged install, by setting a new gradle_user_install parameter to yes, and setting the install locations to user-accessible locations.
The non-privileged install avoids installing the unzip package on the system, and just assumes it is there.

When running the playbook as root, the link is automatically owned
by root. When running as a user, it's probably desired to have it
owned by the user (and also impossible to make it owned by root)
In user-install scenarios, it is likely that those directories
will not be there.
Add a parameter that indicates that the role doesn't run as root.
Root operations such as package installation are not attempted
in this mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants