homelab-automation/.gitea/workflows/ansible-lint.yml
Benjamin Hays ded3046e77
Some checks failed
Ansible Deploy / deploy (ansible/playbooks/debian.yml) (push) Failing after 1m13s
Ansible Deploy / deploy (ansible/playbooks/proxmox.yml) (push) Failing after 1m1s
Ansible Lint / build (push) Failing after 1m6s
directory format overhaul
2025-05-18 09:56:22 -04:00

22 lines
593 B
YAML

# .gitea/workflows/ansible-lint.yaml
name: Ansible Lint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
env:
RUNNER_TOOL_CACHE: /toolcache
steps:
- name: Install Ansible-Lint
run: |
apt update -y
apt install python3-pip ansible -y
python3 -m pip install ansible-lint
- name: Checkout
uses: actions/checkout@v3
- name: Install Ansible Galaxy requirements
run: |
ansible-galaxy install -r ansible/requirements.yaml
- name: Ansible-Lint
run: |
ansible-lint ./ansible