Skip to content

Fix playbooks

Fix playbooks #1171

Workflow file for this run

name: Ansible Lint
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt') }}
- name: Install required dependencies
run: |
pip install ansible-lint ansible
pip install -r requirements.txt
- name: Run ansible Lint
run: |
ansible-lint --exclude .github/ -v
env:
ANSIBLE_INVENTORY_UNPARSED_FAILED: false