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 git@github.com: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 git@github.com:team19hackathon2021/ChRIS_ultron_backEnd.git ~/.local/src/ChRIS_ultron_backEnd
In the Ansible README, the instructions clone the Ansible playbooks into a directory that is typically owned by
rooton Fedora/RHEL systems:install -d -o $USER /usr/local/src/ChRIS_ultron_backEnd git clone git@github.com:team19hackathon2021/ChRIS_ultron_backEnd.git /usr/local/src/ChRIS_ultron_backEndSince 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: