Skip to content

Commit e14c33b

Browse files
shatakshiiiipre-commit-ci[bot]audgirka
authored
Update schema to add some of the missing rules (#3274)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ajinkya Udgirkar <[email protected]>
1 parent 6da0313 commit e14c33b

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

src/ansiblelint/schemas/ansible-lint-config.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,29 +135,39 @@
135135
"fqcn[action-core]",
136136
"fqcn[action]",
137137
"fqcn[canonical]",
138+
"fqcn[keyword]",
138139
"galaxy",
139140
"galaxy[no-changelog]",
141+
"galaxy[no-runtime]",
140142
"galaxy[tags]",
141143
"galaxy[version-incorrect]",
142144
"galaxy[version-missing]",
143145
"ignore-errors",
144146
"inline-env-var",
145147
"internal-error",
146148
"jinja",
149+
"jinja[invalid]",
150+
"jinja[spacing]",
147151
"key-order",
148152
"latest",
149153
"literal-compare",
150154
"load-failure",
155+
"loop-var-prefix",
156+
"loop-var-prefix[missing]",
157+
"loop-var-prefix[wrong]",
151158
"meta-incorrect",
152159
"meta-no-tags",
153160
"meta-runtime",
154161
"meta-video-links",
155162
"name",
163+
"name[casing]",
164+
"name[play]",
165+
"name[prefix]",
166+
"name[template]",
156167
"no-changed-when",
157168
"no-handler",
158169
"no-jinja-when",
159170
"no-log-password",
160-
"loop-var-prefix",
161171
"no-prompting",
162172
"no-relative-paths",
163173
"no-same-owner",
@@ -171,6 +181,12 @@
171181
"risky-octal",
172182
"risky-shell-pipe",
173183
"role-name",
184+
"run-once",
185+
"run-once[play]",
186+
"run-once[task]",
187+
"sanity",
188+
"sanity[bad-ignore]",
189+
"sanity[cannot-ignore]",
174190
"schema",
175191
"syntax-check",
176192
"var-naming",

test/schemas/negative_test/.ansible-lint.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,39 @@
1818
"fqcn[action-core]",
1919
"fqcn[action]",
2020
"fqcn[canonical]",
21+
"fqcn[keyword]",
2122
"galaxy",
2223
"galaxy[no-changelog]",
24+
"galaxy[no-runtime]",
2325
"galaxy[tags]",
2426
"galaxy[version-incorrect]",
2527
"galaxy[version-missing]",
2628
"ignore-errors",
2729
"inline-env-var",
2830
"internal-error",
2931
"jinja",
32+
"jinja[invalid]",
33+
"jinja[spacing]",
3034
"key-order",
3135
"latest",
3236
"literal-compare",
3337
"load-failure",
38+
"loop-var-prefix",
39+
"loop-var-prefix[missing]",
40+
"loop-var-prefix[wrong]",
3441
"meta-incorrect",
3542
"meta-no-tags",
3643
"meta-runtime",
3744
"meta-video-links",
3845
"name",
46+
"name[casing]",
47+
"name[play]",
48+
"name[prefix]",
49+
"name[template]",
3950
"no-changed-when",
4051
"no-handler",
4152
"no-jinja-when",
4253
"no-log-password",
43-
"loop-var-prefix",
4454
"no-prompting",
4555
"no-relative-paths",
4656
"no-same-owner",
@@ -54,6 +64,12 @@
5464
"risky-octal",
5565
"risky-shell-pipe",
5666
"role-name",
67+
"run-once",
68+
"run-once[play]",
69+
"run-once[task]",
70+
"sanity",
71+
"sanity[bad-ignore]",
72+
"sanity[cannot-ignore]",
5773
"schema",
5874
"syntax-check",
5975
"var-naming",

0 commit comments

Comments
 (0)