andrewrothstein / ansible-miniconda

MIT License
28 stars 26 forks source link

ERROR! couldn't resolve module/action 'conda' #31

Closed HarryWeppner closed 8 months ago

HarryWeppner commented 1 year ago

@andrewrothstein, FYI, ansible 2.15.5 introduced a breaking change as part of ansible/ansible#81780, which was introduced in response to CVE-2023-5115 that broke the symlink for conda.py and now causes

ERROR! couldn't resolve module/action 'conda'

When installing the role, there's a warning that:

[WARNING]: Illegal filename '..': '..' is not allowed
HarryWeppner commented 1 year ago

@andrewrothstein, a more robust fix is underway at ansible/ansible#82052.

markhamnr commented 8 months ago

I'm curious, is a fix expected for this issue? Currently I'm looking at downgrading to a version of Ansible that will allow this usage, but that isn't a great solution. Is ansible-miniconda likely to start working with current versions of Ansible again?

andrewrothstein commented 8 months ago

please give a go with v6.3.0 of the role I published to the galaxy. I flattened out the sym links.

markhamnr commented 8 months ago

Much better, thanks!

HarryWeppner commented 8 months ago

FYI, I ran into #33 when testing the new role.