homelab-automation/.gitea/workflows/ansible-lint.yml
Benjamin Hays 9ab9e5520a
Some checks failed
Ansible Deploy / deploy (Ansible/playbooks/debian.yml) (push) Failing after 1m58s
Ansible Deploy / deploy (Ansible/playbooks/proxmox.yml) (push) Successful in 1m8s
Ansible Lint / build (push) Failing after 1m11s
Add Galaxy dependencies list
2024-11-07 17:29:36 -05: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