Collection not from Ansible Galaxy as a custom driver's dependency #4025
Unanswered
VorobevPavel-dev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to add collection which is not stored in Ansible Galaxy or GalaxyNG inside
required_collections
for custom drivers?Env:
As far as i can tell (correct me if i wrong) collections for custom drivers are installed via
dependency.Base.execute()
function that triggersrequire_collection
fromansible-compat
. Afterrequire_collection
triggersinstall_collection
(still insideansible-compat
)install_collection
inansible-compat
's main branch allows user to specify collection in two formats. It even works:and when i run
molecule create
it producesand brakes right after that
require_collection
runs twice. First time withinstall = True
and it's actually installs collection even with this format. Second time withinstall = False
and it cannot find installed collection because... broken name i guessBeta Was this translation helpful? Give feedback.
All reactions