homelab-automation/.gitea/workflows/ansible-lint.yml
Benjamin Hays e0ef7c6a5d
Some checks failed
Ansible Deploy / deploy (ansible/playbooks/debian.yml) (push) Failing after 59s
Ansible Deploy / deploy (ansible/playbooks/proxmox.yml) (push) Failing after 58s
Ansible Lint / build (push) Failing after 1m4s
fix path error
2025-05-18 10:02:27 -04:00

22 lines
595 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