ansible-miniconda-role icon indicating copy to clipboard operation
ansible-miniconda-role copied to clipboard

Fails because prefix path is created

Open tdhopper opened this issue 7 years ago • 2 comments

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 |
                ||     ||

tdhopper avatar Mar 15 '17 21:03 tdhopper

A fix would be to add -f to the install command.

tdhopper avatar Mar 15 '17 21:03 tdhopper

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

lhoss avatar Oct 15 '19 14:10 lhoss