From bfecf6ba43260dcc8362f4c1ece426f2a369f541 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 9 Jul 2024 17:25:38 +0200 Subject: [PATCH] ci --- .woodpecker/ansible-playbook.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .woodpecker/ansible-playbook.yml diff --git a/.woodpecker/ansible-playbook.yml b/.woodpecker/ansible-playbook.yml new file mode 100644 index 00000000..7dd33bdc --- /dev/null +++ b/.woodpecker/ansible-playbook.yml @@ -0,0 +1,18 @@ +--- +depends_on: + - ansible-lint + +steps: + ansible-playbook: + image: quay.io/ansible/creator-ee:v24.2.0 + commands: + - ansible-lint --version + - echo $${VAULTPASS} > ./vault-pass.yml # nach des Secret in Großschreibung + - ansible-galaxy install -r requirements.yaml + - echo RUUUUUN! #ansible-playbook playbooks/2_all.yml playbooks/3_service/* --limit production + # https://woodpecker-ci.org/docs/usage/secrets#use-secrets-in-commands + secrets: [vaultpass] + when: + - event: [push, pull_request] + branch: master +...