Tools for working with Ansible projects using Azure Pipelines.
NOTE: Python 3.10 or 3.11 are required. The Azure DevOps SDK does not yet support Python 3.12.
- Install Python dependencies needed to run scripts from this repository to a preferred location using
pip install -r requirements.txt
. - Populate
~/.config/ansible-azp-tools/azure-devops.key
and~/.config/ansible-azp-tools/github.key
with Personal Access Tokens for Azure Pipelines and GitHub, respectively. - Run
./sync.py --find --update
to clone the repositories/branches needed for the scripts to check the configurations of the repositories.
Check for out-of-date Azure Pipelines configurations testing against ansible-core.
./check-pipelines.py matrix
- check for out-of-date platform references in the test matrix./check-pipelines.py container
- check for out-of-datequay.io/ansible/azure-pipelines-test-container
versions
Run sanity tests against the default branch of each collection in Azure Pipelines
Output a list of paths or a globs, for finding azure-pipelines.yml files.