8000 Remove experimental shared inventory support by cidrblock · Pull Request #4516 · ansible/molecule · GitHub
[go: up one dir, main page]

Skip to content

Remove experimental shared inventory support - #4516

Merged
cidrblock merged 9 commits into
ansible:mainfrom
cidrblock:rm_shared_inventory
Aug 15, 2025
Merged

cidrblock merged 9 commits into
ansible:mainfrom
cidrblock:rm_shared_inventory

Conversation

@cidrblock
Copy link
Copy Markdown
Contributor

Summary

This PR removes the experimental shared inventory feature and all associated functionality from Molecule.

Changes

  • Remove MOLECULE_SHARED_INVENTORY_DIR environment variable
  • Remove molecule_shared_inventory_dir Ansible variable
  • Remove --shared-inventory CLI option and related implementation
  • Remove shared inventory test scenarios and fixtures
  • Remove shared inventory documentation from configuration and user guides

Rationale

The shared inventory feature was experimental and is being removed to:

  • Simplify the codebase by eliminating deprecated functionality
  • Reduce maintenance burden for unused experimental features
  • Clean up the CLI interface and documentation

Testing

  • All existing tests pass
  • Removed test scenarios that were specific to shared inventory functionality
  • Updated test expectations to reflect the removal of shared inventory environment variables

Breaking Change

This is a breaking change for users who were using the experimental --shared-inventory option, though given its experimental status, usage is expected to be minimal.

Remove the experimental shared inventory feature and all associated
functionality. This includes:

- Remove MOLECULE_SHARED_INVENTORY_DIR environment variable
- Remove molecule_shared_inventory_dir Ansible variable
- Remove --shared-inventory CLI option and related code
- Remove shared inventory test scenarios and fixtures
- Remove shared inventory documentation from configuration and guides

The shared inventory feature was experimental and is being removed
to simplify the codebase and eliminate deprecated functionality.
Comment thread src/molecule/scenario.py Resolved

This branch was previously deployed

1 inactive deployment
ack — 3c9b03a2 Deployed Aug 15, 2025 by cidrblock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants

0