Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Improve molecule scenarios in new collection #251

Open
cidrblock opened this issue Jul 11, 2024 · 1 comment
Open

RFE: Improve molecule scenarios in new collection #251

cidrblock opened this issue Jul 11, 2024 · 1 comment

Comments

@cidrblock
Copy link
Collaborator

Add a README to the current which explains that it is there to demonstrate running exisiting integration tests with molecule.

Add an additional scenario which is 100% molecule w/o an integration test.

@jeffcpullen
Copy link

+1 on this.

Following a guide like Introducing Ansible Molecule with Ansible Automation Platform is pretty close, but will error out when actually kicking off molecule test.

➜  lab git:(main) $ cd extensions
➜  extensions git:(main) $ molecule test                                           
CRITICAL 'molecule/default/molecule.yml' glob failed.  Exiting.

There is an implied task that you need to create a directory with at least a molecule.yml that can be referenced as the scenario.

➜  extensions git:(main) $ ls molecule 
my_role  utils
➜  extensions git:(main) $ molecule test -s my_role

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants