Skip to content

Commit 3a7f091

Browse files
committed
Fix incompatibilities with ansible-lint in custom yamllint config
Signed-off-by: Norman Ziegner <[email protected]>
1 parent 34afa1c commit 3a7f091

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.yamllint.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ rules:
2323
commas:
2424
max-spaces-after: -1
2525
level: "error"
26-
comments: "disable"
26+
comments:
27+
min-spaces-from-content: 1
2728
comments-indentation: "disable"
2829
document-start: "disable"
2930
empty-lines:
@@ -37,6 +38,9 @@ rules:
3738
new-line-at-end-of-file: "enable"
3839
new-lines:
3940
type: "unix"
41+
octal-values:
42+
forbid-implicit-octal: true
43+
forbid-explicit-octal: true
4044
quoted-strings:
4145
quote-type: "any"
4246
required: true

0 commit comments

Comments
 (0)