Release Announcement: molecule v25.9.0

Hello everyone,

We are happy to announce the release of molecule v25.9.0.

How to get it

You can install the latest version of all the ansible developer tools by running the following command:

python3 -m pip install -U ansible-dev-tools

This will install the following developer tools:

  • ansible-builder: a utility for building Ansible execution environments.
  • ansible-core: Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems.
  • ansible-creator: a utility for scaffolding Ansible project and content with recommended practices.
  • ansible-dev-environment: a utility for building and managing a virtual environment for Ansible content development.
  • ansible-lint: a utility to identify and correct stylistic errors and anti-patterns in Ansible playbooks and roles.
  • ansible-navigator a text-based user interface (TUI) for developing and troubleshooting Ansible content with execution environments.
  • ansible-sign: a utility for signing and verifying Ansible content.
  • molecule: a functional test runner for Ansible collections, playbooks and roles
  • pytest-ansible: a pytest testing framework extension that provides additional functionality for testing Ansible module and plugin Python code.
  • tox-ansible: an extension to the tox testing utility that provides additional functionality to check Ansible module and plugin Python code under different Python interpreters and Ansible core versions.

For a single tool, you can install it by running:

python3 -m pip -U install <project>==<release>

All ansible developer tools are also packaged in an image that you can use as a VS Code development container. The image is updated shortly after releases of any individual tool.
The community-dev-tools image is available on GitHub Container Registry.

podman run -it ghcr.io/ansible/community-ansible-dev-tools:latest

Sample devcontainer.json files are available in the ansible-dev-tools repository.

Release notes for molecule v25.9.0

Enhancements

  • Add documentation links to molecule login error message (#4536) @cidrblock
  • Set Click standalone_mode=False by default (#4537) @cidrblock
  • Replace ImmediateExit with sysexit_with_message for direct exits (#4534) @cidrblock
  • Add sysexit_from_exception, restore sysexit_with_message (#4538) @Qalthos
  • Debug the galaxy.yml missing (#4533) @cidrblock
  • Add environment variable support for report and command-borders (#4530) @cidrblock
  • Debug missing galaxy.yml file not warning (#4531) @cidrblock
  • Remove non-functional html report (#4528) @cidrblock
  • Bump the dependencies group in /.config with 14 updates (#4527) @dependabot[bot]
  • Refactor configuration docs (#4529) @cidrblock
  • README and index updates (#4526) @cidrblock
  • Add kubevirt driver support to molecule.json (#4492) @gokberkgunduzz
  • Note other examples as pre ansible-native (#4525) @cidrblock
  • Convert Podman example to ansible-native configuration (#4524) @cidrblock
  • Update native inventory example (#4523) @cidrblock
  • Remove indent (#4522) @cidrblock
  • Improve playbook doc (#4521) @cidrblock
  • Add missing doc from PR 4519 (#4520) @cidrblock
  • Add testing philosophy documentation (#4504) @cidrblock
  • Add comprehensive getting started guides for collections and playbooks (#4519) @cidrblock
  • Add comprehensive ansible-native documentation and workflow reference (#4518) @cidrblock
  • Remove experimental shared inventory support (#4516) @cidrblock
  • Add shared_state configuration documentation (#4517) @cidrblock
  • Add shared_state configuration option with CLI override support (#4514) @cidrblock
  • Fix KeyError command_borders in login and reset commands (#4515) @cidrblock
  • Introduce centralized ansible configuration section and simplify init command (#4509) @cidrblock
  • Bump actions/checkout from 4 to 5 (#4511) @dependabot[bot]
  • Enable ansible_args for user-provided create/destroy playbooks (#4505) @cidrblock
  • Add always-on one-line execution summary with improved formatting (#4506) @cidrblock
  • Add --all flag support to molecule reset command (#4503) @cidrblock
  • Improve messaging terminology: replace ‘Completed’ with ‘Executed’ (#4507) @cidrblock
  • Add collection-aware scenario discovery and creation (#4499) @cidrblock
  • refactor: introduce ImmediateExit exception for clean error handling (#4501) @cidrblock
  • Reverted: Add MOLECULE_SHARED_INVENTORY_DIR environment variable and playbook variable (#4500) @cidrblock
  • Add experimental --command-borders flag for visual command output separation (#4496) @cidrblock
  • Add Ansible-style Scenario Recap to Report Output (#4494) @cidrblock
  • Remove extra line whem an action has no completions (#4493) @cidrblock
  • Implement Action Completion Reporting System (#4490) @cidrblock

Fixes

  • Improve default templates for converge and verify (#4476) @dragetd
  • Update getting-started-playbooks.md (#4546) @sdunne

Maintenance

  • Bump the dependencies group across 1 directory with 24 updates (#4549) @dependabot[bot]
  • chore: configure renovate (#4552) @ssbarnea
  • chore: pre-commit autoupdate (#4548) @pre-commit-ci[bot]
  • Replace to_bool calls with boolean function (#4542) @cidrblock
  • Collapse utils module into single util.py file (#4541) @cidrblock
  • Replace util.print_as_yaml with ansi_output.print_matrix (#4540) @cidrblock
  • Refactor print_environment_vars to use logging instead of console (#4539) @cidrblock
  • Bump the dependencies group across 1 directory with 20 updates (#4508) @dependabot[bot]
  • chore: pre-commit autoupdate (#4498) @pre-commit-ci[bot]
  • Add StrEnum compatibility layer for Python 3.10 (#4491) @cidrblock

Release notes for all versions can be found in the changelog.