homelab-automation/.gitea/workflows/ansible-lint.yml
Benjamin Hays 195098ee7c
All checks were successful
Ansible Lint / build (push) Successful in 1m9s
Update Ansible Lint Action
2024-10-11 19:08:14 -04:00

18 lines
446 B
YAML

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