run ansible lint in ci

This commit is contained in:
Fritz Grimpen 2024-11-09 03:44:13 +01:00
parent a60f6eb0a2
commit 78a9b5db85
2 changed files with 17 additions and 2 deletions

13
.woodpecker.yaml Normal file
View file

@ -0,0 +1,13 @@
when:
- event: push
branch: main
- event: push
branch: master
steps:
- name: lint
image: alpine
commands:
- apk update
- apk add ansible-lint
- ansible-lint

View file

@ -1,7 +1,9 @@
# ansible
CCC HB Ansible
[![status-badge](https://ci.ccchb.de/api/badges/5/status.svg)](https://ci.ccchb.de/repos/5)
CCCHB Ansible
## Deployment
ansible-playbook -i hosts/ [-l HOSTS] [-t TAGS] sites.yml
ansible-playbook -i hosts/ [-l HOSTS] [-t TAGS] sites.yml