Also move linking miniconda from installtion dir to {{ miniconda_link_dir }} as part of installation block, because if miniconda exists with different version then installation block would be skipped and link step would fail trying to link miniconda from a different version directory than installed version directory. And installation check relies on miniconda_conda_binary.stat.exists condition, which would be true only when miniconda_conda_bin: '{{ miniconda_link_dir }}/bin/conda' exists
Also move linking miniconda from installtion dir to
{{ miniconda_link_dir }}
as part of installation block, because if miniconda exists with different version then installation block would be skipped and link step would fail trying to link miniconda from a different version directory than installed version directory. And installation check relies onminiconda_conda_binary.stat.exists
condition, which would be true only whenminiconda_conda_bin: '{{ miniconda_link_dir }}/bin/conda'
exists