BonnyCI / projman

A project management repository -- meta
0 stars 2 forks source link

ansible-runner users all require sudo to update the global ansible venv #242

Open gandelman-a opened 7 years ago

gandelman-a commented 7 years ago

ansible-runner relies on a single virtualenv to be created in which we install ansible for all runner tasks, regardless of which user is running the task. Because some tasks require python dependencies to be installed into this venv, each runner user currently requires sudo access, only because they need to update this global ansible virtualenv. Instead, each runner task should have its own venv that it is free to update without concern of permissions or installing a dependency library that may conflict with a version installed by an other task.