fixing condas strange exit code and json stdout outputs #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The conda version I was using did not behave as it was exepcted by this
module.
conda list --json returns two different structures depending on whether
the package was initially installed by "pip".
I had the following problem: I wanted to make sure than some packages
are installed:
conda: name=pip
The very first time that this was executed conda list --json returned a
json structure that was not expected. If you manually installed pip with
conda, then the have the regular structure.
I ran constantly into these kind of issues. I've been deploying conda on
several machines and not once they have failed.
Sometimes you want to conda install a bunch of packages at once
and for some of them you have a version restriction, like
conda:
name: "{{ item }}"
with_items: