ansible-miniconda-role
ansible-miniconda-role copied to clipboard
Fails because prefix path is created
This is is failing for me. Because the prefix path gets created by ansible (uchida.miniconda : directory /root/miniconda3 exists
), the installer skips actually installing:
ok: [digitalocean2] => {"changed": false, "cmd": "/bin/bash \"/tmp/Miniconda-3.16.0-Linux-x86_64.sh\" -b -p \"/root/miniconda3/\"", "rc": 0, "stderr": false, "stdout": "skipped, since /root/miniconda3/ exists", "stdout_lines": ["skipped, since /root/miniconda3/ exists"]}
___________________________________________________
< TASK [uchida.miniconda : miniconda is up-to-date] >
---------------------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
A fix would be to add -f
to the install command.
A fix would be to add
-f
to the install command.
This seems fixed, at least in the env install cmd -f
is already used.
ps: Another fix (done in a fork, but there's no PR) maybe related : https://github.com/zequihg50/ansible-miniconda-role/commit/c42631cacae4a6aef43edbf3be24c39562587e56