Release Announcement: molecule v26.9.0

Hello everyone,

We are happy to announce the release of molecule v26.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 v26.9.0

Features

  • feat: add lima to the allowed driver names (#4698) @simi

Fixes

  • fix: validation error messages being truncated by markup regex (#4685) @reboss
  • fix: recognize git worktree root in find_vcs_root() (#4640) @evadeflow
  • fix(state): reload before change_state so a stale snapshot cannot revert a sibling State write (#4694) @AmirF194
  • fix: write only recorded connection vars for managed instances (#4702) @jeffcpullen
  • fix: display errors when schema validation fails (#4623) @chronicc

Documentation

  • chore(docs): User Pathways and Role Getting Started Guide (#4691) @dbrennand
  • chore: document shared state for standalone role testing (#4695) @dbrennand
  • Improve documentation on container image selection with Podman (#4687) @rgaiacs

Maintenance

  • chore: Add SECURITY.md (#4693) @rockygeekz
  • chore(deps): update all dependencies and pep621 (#4681, #4682, #4699, #4700) @renovate[bot]
  • test: model one ephemeral directory per scenario in the unit fixture (#4701) @jeffcpullen

What’s Changed

New Contributors

Full Changelog: Comparing v26.8.0...v26.9.0 · ansible/molecule · GitHub

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

2 Likes