Repository navigation
DNM: Set verify on AZ host_aggregate tasks for the admin cloud #122
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Ansible Lint | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| ansible-lint: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: quay.io/shiftstack-qe/shiftstack-client | |
| options: --user root | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Mark workspace as safe for git | |
| run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
| - name: Install Ansible collections | |
| run: ansible-galaxy collection install -r requirements.yaml | |
| - name: Run pre-commit (ansible-lint) | |
| run: pre-commit run --all-files | |
| env: | |
| ANSIBLE_VAULT_PASSWORD_FILE: /home/cloud-admin/.vault-pass |