Skip to content

Commit fb72890

Browse files
author
Alan Christie
committed
ci: Correct lint fix
1 parent fe78c91 commit fb72890

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

.ansible-lint

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
3+
warn_list:
4+
- '106' # Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern
5+
- '207' # Nested jinja pattern
6+
- yaml
7+
- fqcn-builtins
8+
- fqcn[action] # Use FQCN for builtin actions.
9+
- var-spacing
10+
- experimental # all rules tagged as experimental
11+
- key-order[task] # Ensure specific order of keys in mappings.
12+
- name[missing] # Rule for checking task and play names.
13+
- name[template] # Rule for checking task and play names.

.github/workflows/lint.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ jobs:
3535
run: |
3636
yamllint .
3737
find . -type f -name '*.yaml.j2' -exec yamllint {} +
38+
ansible-lint

.yamllint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ignore: |
1111
roles/backup/templates/cronjob-database-backup.yaml.j2
1212
roles/backup/templates/job-database-backup.yaml.j2
1313
roles/backup/templates/pvc.yaml.j2
14+
roles/backup/recovery/pvc.yaml.j2
1415

1516
rules:
1617
indentation:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ Run the following: -
117117

118118
yamllint .
119119
find . -type f -name '*.yaml.j2' -exec yamllint {} +
120+
ansible-lint
120121

121122
---
122123

0 commit comments

Comments
 (0)