From 78a9b5db85ad1352278d582b4c29bf7cab4c9b87 Mon Sep 17 00:00:00 2001 From: Fritz Grimpen Date: Sat, 9 Nov 2024 03:44:13 +0100 Subject: [PATCH] run ansible lint in ci --- .woodpecker.yaml | 13 +++++++++++++ README.md | 6 ++++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 .woodpecker.yaml diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..f5b526a --- /dev/null +++ b/.woodpecker.yaml @@ -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 diff --git a/README.md b/README.md index af86f26..8b4ba61 100644 --- a/README.md +++ b/README.md @@ -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