From be0ba0d89467a52c7e9ab2905317c1318205be1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian-Samuel=20Geb=C3=BChr?= Date: Sat, 18 Mar 2023 07:25:41 +0100 Subject: [PATCH] feat: Add CI for ansible lint --- .config/ansible-lint.yml | 12 ++++++++++++ .woodpecker.yml | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 .config/ansible-lint.yml create mode 100644 .woodpecker.yml diff --git a/.config/ansible-lint.yml b/.config/ansible-lint.yml new file mode 100644 index 00000000..5f17e294 --- /dev/null +++ b/.config/ansible-lint.yml @@ -0,0 +1,12 @@ +--- + +use_default_rules: true + +skip_list: + - unnamed-task + - no-handler + - command-instead-of-shell + - yaml[line-length] + - no-changed-when + +offline: true diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 00000000..56e7069a --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,6 @@ +--- +pipeline: + build: + image: cytopia/ansible-lint + commands: + - "ansible-lint"