Hello everyone,
We are happy to announce the release of pytest-ansible v26.8.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.8.0
What’s Changed
- fix(security): bump urllib3, idna, pymdown-extensions to fix known vulnerabilities by @sudhirverma in fix(security): bump urllib3, idna, pymdown-extensions to fix known vulnerabilities by sudhirverma · Pull Request #593 · ansible/pytest-ansible · GitHub
- fix(security): bump cairosvg to 2.9.0 to fix GHSA-f38f-5xpm-9r7c by @sudhirverma in fix(security): bump cairosvg to 2.9.0 to fix GHSA-f38f-5xpm-9r7c by sudhirverma · Pull Request #594 · ansible/pytest-ansible · GitHub
- chore(deps): update all dependencies by @renovate[bot] in chore(deps): update all dependencies by renovate[bot] · Pull Request #591 · ansible/pytest-ansible · GitHub
- fix: resolve 11 SonarCloud issues across 5 files by @sathyapramod in fix: resolve 11 SonarCloud issues across 5 files by sathyapramod · Pull Request #595 · ansible/pytest-ansible · GitHub
- Sonar/s3776 s1172 coverage by @sathyapramod in Sonar/s3776 s1172 coverage by sathyapramod · Pull Request #597 · ansible/pytest-ansible · GitHub
- Sonar/s3776 s1172 coverage v2 by @sathyapramod in Sonar/s3776 s1172 coverage v2 by sathyapramod · Pull Request #599 · ansible/pytest-ansible · GitHub
- test: boost new-code coverage past 90% for SonarCloud quality gate by @sathyapramod in test: boost new-code coverage past 90% for SonarCloud quality gate by sathyapramod · Pull Request #600 · ansible/pytest-ansible · GitHub
- Sonar/coverage boost by @sathyapramod in Sonar/coverage boost by sathyapramod · Pull Request #601 · ansible/pytest-ansible · GitHub
- chore: deprecate molecule scenario integration via pytest by @cidrblock in chore: deprecate molecule scenario integration via pytest by cidrblock · Pull Request #602 · ansible/pytest-ansible · GitHub
- fix(security): add missing workflow permissions to resolve code-scanning alerts by @sudhirverma in fix(security): add missing workflow permissions to resolve code-scanning alerts by sudhirverma · Pull Request #605 · ansible/pytest-ansible · GitHub
- docs: retire pytest-ansible (EOL December 2026) by @cidrblock in docs: retire pytest-ansible (EOL December 2026) by cidrblock · Pull Request #603 · ansible/pytest-ansible · GitHub
- fix(security): update dependencies [SECURITY] by @renovate[bot] in fix(security): update dependencies [SECURITY] by renovate[bot] · Pull Request #604 · ansible/pytest-ansible · GitHub
- chore(deps): update pep621 by @renovate[bot] in chore(deps): update pep621 by renovate[bot] · Pull Request #592 · ansible/pytest-ansible · GitHub
- fix: resolve SonarCloud quality gate violations by @rockygeekz in fix: resolve SonarCloud quality gate violations by rockygeekz · Pull Request #606 · ansible/pytest-ansible · GitHub
- fix(deps): exclude ansible-core 2.17.x (CVE-2026-11332) by @rockygeekz in fix(deps): exclude ansible-core 2.17.x (CVE-2026-11332) by rockygeekz · Pull Request #607 · ansible/pytest-ansible · GitHub
- Revert “Sonar/coverage boost” by @rockygeekz in Revert "Sonar/coverage boost" by rockygeekz · Pull Request #608 · ansible/pytest-ansible · GitHub
- test: raise unit coverage to ~98% for SonarCloud by @sudhirverma in test: raise unit coverage to ~98% for SonarCloud by sudhirverma · Pull Request #609 · ansible/pytest-ansible · GitHub
- fix(security): update dependencies [SECURITY] by @renovate[bot] in fix(security): update dependencies [SECURITY] by renovate[bot] · Pull Request #612 · ansible/pytest-ansible · GitHub
New Contributors
- @sudhirverma made their first contribution in fix(security): bump urllib3, idna, pymdown-extensions to fix known vulnerabilities by sudhirverma · Pull Request #593 · ansible/pytest-ansible · GitHub
- @sathyapramod made their first contribution in fix: resolve 11 SonarCloud issues across 5 files by sathyapramod · Pull Request #595 · ansible/pytest-ansible · GitHub
Full Changelog: Comparing v26.6.0...v26.8.0 · ansible/pytest-ansible · GitHub
Release notes for all versions can be found in the changelog.