Name: ansible-conda
Owner: Urban Data Science Toolkit
Description: An Ansible module for managing Python packages via Conda
Created: 2014-10-10 20:08:52.0
Updated: 2017-10-27 04:01:03.0
Pushed: 2017-10-20 23:10:43.0
Homepage: null
Size: 22
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Manage conda installations of Python packages in Ansible playbooks.
Put this module somewhere Ansible will find it
(like the library/
directory next to your top level playbooks).
Usage is much like the built-in Ansible pip module.
This requires conda
to already be installed somehow.
Examples:
me: install numpy via conda
nda: name=numpy state=latest
me: install scipy 0.14 via conda
nda: name=scipy version="0.14"
me: remove matplotlib from conda
nda: name=matplotlib state=absent
From ansible-doc
:
NDA
nage Python libraries via conda. Can install, update, and remove
ckages.
ons (= is mandatory):
annels
Extra channels to use when installing packages [Default: None]
ecutable
Full path to the conda executable [Default: None]
tra_args
Extra arguments passed to conda [Default: None]
me
The name of a Python library to install [Default: None]
ate
State in which to leave the Python package (Choices: present,
absent, latest) [Default: present]
rsion
A specific version of a library to install [Default: None]
s: Requires conda to already be installed. Will look under the home
directory for a conda executable.