NETWAYS / ansible-collection-elasticstack

A collection to install and manage the Elastic Stack
GNU General Public License v3.0
9 stars 8 forks source link

Configure Galaxy in Molecule #255

Closed widhalmt closed 10 months ago

widhalmt commented 10 months ago

This will force Molecule to run Ansible Galaxy twice. Once for roles, once for collection.

fixes #254

widhalmt commented 10 months ago

I'm not convinced that this change is really neccessary. It seems like the behaviour is exactly the same. My interpretation for now: First it installs the collections, then it runs again for roles. Since the both runs don't know of each other, the second issues the warning. So, since it's working as expected I'm ok with both - merging or closing.

Tests seem to fail because of timeouts at Rocky Linux repos.

afeefghannam89 commented 10 months ago

@widhalmt where is the collections.yml file, I do not see it? Did I misunderstand the goal of this PR? Can you please clarify more?

widhalmt commented 10 months ago

Of course. I got the name wrong. 🤦🏽 I meant the requirements.yml in most Molecule scenarios.