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

molecule test/converge doesn't work if I scaffold a collection within a playbook project scaffold using ansible-creator #193

Open
anshulbehl opened this issue May 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@anshulbehl
Copy link

ISSUE TYPE
  • Bug Report
SUMMARY
ANSIBLE-CREATOR VERSION
24.5.0
PYTHON VERSION

Python 3.11.4

LOG FILE
STEPS TO REPRODUCE
  1. Scaffold a playbook project
  2. Then scaffold a collection project inside the collections/ansible_collections directory within your playbook project
  3. Open the collection project in a new workspace
  4. Install a virtual environment using ade command ade install --venv .venv --ansible-dev-tools
  5. Go to extension directory cd extensions
  6. Run molecule 'molecule test --all' or 'molecule test -s integration_hello_world'
  7. You will see the error
(venv) ➜  extensions git:(devel) ✗ molecule test -s integration_hello_world
CRITICAL 'molecule/integration_hello_world/molecule.yml' glob failed.  Exiting.
EXPECTED RESULTS

Molecule should run the scenario

ACTUAL RESULTS

Getting an error, this is most probably due to the workspace conflicts of some sort

ADDITIONAL INFORMATION
@anshulbehl anshulbehl added the bug Something isn't working label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant