ansible-conda icon indicating copy to clipboard operation
ansible-conda copied to clipboard

creating conda environment from a specification file

Open RafalSkolasinski opened this issue 9 years ago • 3 comments

Cool option would be possibility to create conda environment from the specification files created in other env by either

conda list -e

or

conda list --explicit

RafalSkolasinski avatar Mar 17 '16 15:03 RafalSkolasinski

Hi @RafalSkolasinski do you have any insight on how to achieve this? This is precisely what I'm trying to do, but am not very experienced with ansible.

Any help much appreciated. Thank you.

rob-sokolowski avatar Jan 09 '17 14:01 rob-sokolowski

Probably one can just use command module of ansible to invoke necessary command but I don't know how robust and idempotent this will be.

RafalSkolasinski avatar Jan 09 '17 15:01 RafalSkolasinski

Related work I just stumbled across: https://github.com/andrewrothstein/ansible-conda-env

danielballan avatar Oct 30 '17 16:10 danielballan