Couldn't resolve module/action 'community.crypto.openssl_privatekey' (only with ansible-core devel)

In the CI for community.hashi_vault, I’m seeing new failures in devel when I try to use community.crypto.openssl_privatekey where it seems that ansible cannot resolve the module anymore.

In 2.18 this still works fine.

I didn’t see anything merged in devel that would appear to affect that but I’m assuming I missed something, but I’m out of ideas as to why this is happening.

You’re setting ANSIBLE_COLLECTIONS_PATHS, but not ANSIBLE_COLLECTIONS_PATH. Support for ANSIBLE_COLLECTIONS_PATHS will be removed from ansible-core 2.19, and the current devel branch apparently already did that. (Remove deprecated plural form of collection path (#84156) · ansible/ansible@f29b46e · GitHub)

2 Likes

ahhhh thank you so much! :bulb: