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_stateso 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
- chore(deps): update all dependencies by @renovate[bot] in chore(deps): update all dependencies by renovate[bot] · Pull Request #4681 · ansible/molecule · GitHub
- chore: Add SECURITY.md by @rockygeekz in chore: Add SECURITY.md by rockygeekz · Pull Request #4693 · ansible/molecule · GitHub
- fix: validation error messages being truncated by markup regex by @reboss in fix: validation error messages being truncated by markup regex by reboss · Pull Request #4685 · ansible/molecule · GitHub
- chore(deps): update pep621 by @renovate[bot] in chore(deps): update pep621 by renovate[bot] · Pull Request #4682 · ansible/molecule · GitHub
- chore(docs): User Pathways and Role Getting Started Guide by @dbrennand in chore(docs): User Pathways and Role Getting Started Guide by dbrennand · Pull Request #4691 · ansible/molecule · GitHub
- chore: document shared state for standalone role testing by @dbrennand in chore: document shared state for standalone role testing by dbrennand · Pull Request #4695 · ansible/molecule · GitHub
- Improve documentation with paragraph about selection of container images to use with Podman by @rgaiacs in Improve documentation with paragraph about selection of container images to use with Podman by rgaiacs · Pull Request #4687 · ansible/molecule · GitHub
- fix: recognize git worktree root in find_vcs_root() by @evadeflow in fix: recognize git worktree root in find_vcs_root() by evadeflow · Pull Request #4640 · ansible/molecule · GitHub
- feat: Add lima to the allowed driver names by @simi in feat: Add lima to the allowed driver names by simi · Pull Request #4698 · ansible/molecule · GitHub
- fix(state): reload before change_state so a stale snapshot can’t revert a sibling State’s write by @AmirF194 in fix(state): reload before change_state so a stale snapshot can't revert a sibling State's write by AmirF194 · Pull Request #4694 · ansible/molecule · GitHub
- fix: write only recorded connection vars for managed instances by @jeffcpullen in fix: write only recorded connection vars for managed instances by jeffcpullen · Pull Request #4702 · ansible/molecule · GitHub
- fix: display errors when schema validation fails by @chronicc in fix: display errors when schema validation fails by chronicc · Pull Request #4623 · ansible/molecule · GitHub
- chore(deps): update all dependencies by @renovate[bot] in chore(deps): update all dependencies by renovate[bot] · Pull Request #4699 · ansible/molecule · GitHub
- chore(deps): update pep621 by @renovate[bot] in chore(deps): update pep621 by renovate[bot] · Pull Request #4700 · ansible/molecule · GitHub
- test: model one ephemeral directory per scenario in the unit fixture by @jeffcpullen in test: model one ephemeral directory per scenario in the unit fixture by jeffcpullen · Pull Request #4701 · ansible/molecule · GitHub
New Contributors
- @reboss made their first contribution in fix: validation error messages being truncated by markup regex by reboss · Pull Request #4685 · ansible/molecule · GitHub
- @dbrennand made their first contribution in chore(docs): User Pathways and Role Getting Started Guide by dbrennand · Pull Request #4691 · ansible/molecule · GitHub
- @rgaiacs made their first contribution in Improve documentation with paragraph about selection of container images to use with Podman by rgaiacs · Pull Request #4687 · ansible/molecule · GitHub
- @evadeflow made their first contribution in fix: recognize git worktree root in find_vcs_root() by evadeflow · Pull Request #4640 · ansible/molecule · GitHub
- @simi made their first contribution in feat: Add lima to the allowed driver names by simi · Pull Request #4698 · ansible/molecule · GitHub
- @AmirF194 made their first contribution in fix(state): reload before change_state so a stale snapshot can't revert a sibling State's write by AmirF194 · Pull Request #4694 · ansible/molecule · GitHub
- @chronicc made their first contribution in fix: display errors when schema validation fails by chronicc · Pull Request #4623 · ansible/molecule · GitHub
Full Changelog: Comparing v26.8.0...v26.9.0 · ansible/molecule · GitHub
Release notes for all versions can be found in the changelog.