Skip to content

Merge pull request #365 from stackhpc/remove-rich-pinning #1029

Merge pull request #365 from stackhpc/remove-rich-pinning

Merge pull request #365 from stackhpc/remove-rich-pinning #1029

Workflow file for this run

---
name: Ansible Lint
on:
push:
branches:
- main
pull_request:
jobs:
ansible-lint:
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Ansible collections
run: |
ansible-galaxy collection install -r requirements.yml
- name: Install pip dependencies
run: |
pip install -r requirements.txt
- name: Install ansible-lint
run: |
pip install ansible-core==2.16.* ansible-lint==24.*
- name: Lint Ansible playbooks
run: |
ansible-lint -v --force-color ansible/*.yml
env:
ANSIBLE_VAULT_PASSWORD: ${{ secrets.ANSIBLE_VAULT_PASSWORD }}