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:
- name: Install pip via conda module
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
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