forked from ccchb/ansible
run ansible lint in ci
This commit is contained in:
parent
a60f6eb0a2
commit
78a9b5db85
2 changed files with 17 additions and 2 deletions
13
.woodpecker.yaml
Normal file
13
.woodpecker.yaml
Normal 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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue