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: Make molecule collection aware #4000

Open
cidrblock opened this issue Aug 12, 2023 · 0 comments
Open

RFE: Make molecule collection aware #4000

cidrblock opened this issue Aug 12, 2023 · 0 comments
Labels
Milestone

Comments

@cidrblock
Copy link
Contributor

As a user I want molecule to be aware that my scenarios are contained within an ansible collection.

Use cases:

  • Use the collection name when constructing the ephemeral directory. Today, if using molecule in multiple collections the ephemeral directory is shared due to the introduction of the "extensions" directory.
/home/bthornto/.cache/molecule
└── extensions
    ├── default
    │   └── inventory
  • Provide the collection name to the user for use in ansible content, e.g. molecule_collection_name. This may be used in task names, debugging, etc and will avaoid the need for every user to parse the galaxy.yml file
  • Will allow for the introduction of shared resources between scenarios within the same collection. See follow up RFEs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Roadmap
Development

No branches or pull requests

2 participants