A role that installs Anaconda or Miniconda.
Notable features:
- Has a service user that runs several cron jobs to perform housekeeping tasks for a multiuser installation.
- The service user runs
conda clean
for all users at a predefined interval. - The service user installs all software that has been installed in a user's local environment into the base conda environment.
- End-users don't interact with the base conda environment directly (i.e., it's read-only to all but the service user). This resolves concurrency/locking issues related to multiple users issuing a
conda install/uninstall
command at the same time. - Has post-install/uninstall hooks for
pip
andconda
to store transaction history in a git repository. This addresses a current shortcoming ofconda list --revisions
, where this command only accounts for transactions performed viaconda
while not trackingpip
-based transactions.
See meta/main.yml
See meta/main.yml
- hosts: servers
roles:
- app-anaconda
MIT
Andrew Rothstein [email protected]
John Pellman [email protected]