Skip to content

Commit 0d7fdfe

Browse files
committed
fix
1 parent 77b3f30 commit 0d7fdfe

File tree

4 files changed

+40
-1
lines changed

4 files changed

+40
-1
lines changed

.tasks/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,3 +173,10 @@ tasks:
173173
- echo "Running ansible-lint..."
174174
- ansible-lint -c .ansible-lint
175175
- echo "Linting complete"
176+
177+
yamllint:
178+
desc: "Run yamllint on all YAML files"
179+
cmds:
180+
- echo "Running yamllint..."
181+
- yamllint -c .yamllint ansible/ .tasks/ *.yml
182+
- echo "YAML linting complete"

.yamllint

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
extends: default
3+
4+
rules:
5+
line-length:
6+
max: 200
7+
level: warning
8+
indentation:
9+
spaces: 2
10+
indent-sequences: true
11+
comments:
12+
min-spaces-from-content: 1
13+
braces:
14+
max-spaces-inside: 1
15+
brackets:
16+
max-spaces-inside: 1
17+
truthy:
18+
allowed-values: ['true', 'false']
19+
20+
ignore: |
21+
artifacts/**
22+
.github/**
23+
aws/**
24+
azure/**
25+
gcp/**
26+
ibm/**
27+
templates/**
28+
node_modules/**
29+
.task/**
30+
ssh-bootstrap.yml

Taskfile.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
version: '3'
23

34
dotenv: ['.env']
@@ -18,4 +19,4 @@ tasks:
1819
desc: "Show available tasks"
1920
cmds:
2021
- task --list-all
21-
silent: true
22+
silent: true

requirements.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
collections:
23
- name: community.general
34
- name: https://github.com/redpanda-data/redpanda-ansible-collection.git

0 commit comments

Comments
 (0)