Skip to content

Conversation

cidrblock
Copy link
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.
@cidrblock cidrblock merged commit 22947b0 into ansible:main Aug 15, 2025
20 checks passed
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