File tree Expand file tree Collapse file tree 4 files changed +40
-1
lines changed
Expand file tree Collapse file tree 4 files changed +40
-1
lines changed Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1+ ---
12version : ' 3'
23
34dotenv : ['.env']
1819 desc : " Show available tasks"
1920 cmds :
2021 - task --list-all
21- silent : true
22+ silent : true
Original file line number Diff line number Diff line change 1+ ---
12collections :
23 - name : community.general
34 - name : https://github.com/redpanda-data/redpanda-ansible-collection.git
You can’t perform that action at this time.
0 commit comments