Release Announcement: pytest-ansible v26.6.0

Hello everyone,

We are happy to announce the release of pytest-ansible v26.6.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 pytest-ansible v26.6.0

Fixes

  • fix(security): update dependencies [SECURITY] (#587) @renovate[bot]
  • fix: suppress ruff PLW0717 to unblock renovate (#586) @rockygeekz
  • fix(security): update dependencies [SECURITY] (#583) @renovate[bot]
  • fix(security): update dependencies [SECURITY] (#582) @renovate[bot]
  • fix: reorder pyproject.toml sections to match tombi canonical ordering (#579) @Hrithik-Gavankar
  • fix: update _extends syntax for release-drafter v7 compatibility (#576) @rockygeekz

Maintenance

  • chore: remove previously-synced agent skills (#590) @ansibuddy
  • fix(security): update dependencies [SECURITY] (#587) @renovate[bot]
  • [pre-commit.ci] pre-commit autoupdate (#566) @pre-commit-ci[bot]
  • chore(deps): update all dependencies (#573) @renovate[bot]
  • fix(security): update dependencies [SECURITY] (#583) @renovate[bot]
  • chore(deps): bump pymdown-extensions from 10.21.2 to 10.21.3 (#577) @dependabot[bot]
  • chore(deps): bump idna from 3.13 to 3.15 (#578) @dependabot[bot]
  • fix(security): update dependencies [SECURITY] (#582) @renovate[bot]
  • chore(deps): update pep621 (#574) @renovate[bot]
  • fix(security): update dependencies [SECURITY] - abandoned (#568) @renovate[bot]
  • chore(deps): update pep621 (#565) @renovate[bot]
  • chore(deps): bump pillow from 12.1.1 to 12.2.0 (#570) @dependabot[bot]
  • chore(deps): update all dependencies (#564) @renovate[bot]
  • chore(deps-dev): bump pip from 26.0.1 to 26.1 (#572) @dependabot[bot]
  • chore(deps-dev): bump cryptography from 46.0.6 to 46.0.7 (#567) @dependabot[bot]
  • chore(deps-dev): bump pytest from 9.0.2 to 9.0.3 (#571) @dependabot[bot]
  • chore(deps-dev): bump uv from 0.11.2 to 0.11.6 (#569) @dependabot[bot]

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