-
Notifications
You must be signed in to change notification settings - Fork 24
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
How to install packages into specific conda environment? #23
Comments
Do you get an error, or does it end up installing into the default environment? |
I feel the conda ansible module install should work like the conda create command and create the environment if it does not exist.
Instead, conda ansible module errors: |
How do I use this module to install package to specific environment?
For example,
Given that I have Anaconda installed under /opt/anaconda2/,
and that I have manually created environment called 'myconda'
I want to write a task to install package pip into environment 'myconda'
Here is an example task:
conda:
name: pip
state: latest
executable: /opt/anaconda2/bin/conda
extra_args:
- "-n myconda"
This does not work in my environment with ansible 2.4.3.0
The text was updated successfully, but these errors were encountered: