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

Ansible Instructions require sudo/root permissions to work #96

Open
adambkaplan opened this issue Oct 26, 2021 · 2 comments
Open

Ansible Instructions require sudo/root permissions to work #96

adambkaplan opened this issue Oct 26, 2021 · 2 comments

Comments

@adambkaplan
Copy link

In the Ansible README, the instructions clone the Ansible playbooks into a directory that is typically owned by root on Fedora/RHEL systems:

install -d -o $USER /usr/local/src/ChRIS_ultron_backEnd
git clone [email protected]:team19hackathon2021/ChRIS_ultron_backEnd.git /usr/local/src/ChRIS_ultron_backEnd

Since we are only interested in the playbooks and using python's Virtualenv capability, installing into a root-owned directory is probably not necessary. I recommend that we instruct users and contributors to install the ChRIS backend repository to a user-owned directory:

install -d -o $USER ~/.local/src/ChRIS_ultron_backEnd
git clone [email protected]:team19hackathon2021/ChRIS_ultron_backEnd.git ~/.local/src/ChRIS_ultron_backEnd
@adambkaplan adambkaplan changed the title Ansible Instructions require sudo/root permissions to work. Ansible Instructions require sudo/root permissions to work Oct 26, 2021
@lgchiaretto
Copy link

@adambkaplan I think it's not on README file now. There's a reference to this path here.

Should this path may be used as variable now?

@lgchiaretto
Copy link

ops, my mistake, this link is the variable!

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

No branches or pull requests

2 participants