fix spelling
This commit is contained in:
parent
9d2e5148c4
commit
736800dd1d
|
@ -5,8 +5,9 @@ class CheckWhenFormat(RuleBase):
|
||||||
rid = "ANS122"
|
rid = "ANS122"
|
||||||
description = "Don't use Jinja2 in when"
|
description = "Don't use Jinja2 in when"
|
||||||
helptext = (
|
helptext = (
|
||||||
"`when` is a raw Jinja2 expression, redundant {{ }} " "should be removed from variable(s)"
|
"`when` is a raw Jinja2 expression, redundant `{{ }}` should be removed from variable(s)"
|
||||||
)
|
)
|
||||||
|
|
||||||
types = ["playbook", "task", "handler"]
|
types = ["playbook", "task", "handler"]
|
||||||
|
|
||||||
def check(self, candidate, settings):
|
def check(self, candidate, settings):
|
||||||
|
|
|
@ -44,5 +44,5 @@ Reviews are useless without some rules to check against. `ansible-later` comes w
|
||||||
| CheckChangedInWhen | ANS126 | Use handlers instead of `when: changed`. | |
|
| CheckChangedInWhen | ANS126 | Use handlers instead of `when: changed`. | |
|
||||||
| CheckChangedInWhen | ANS127 | Deprecated bare variables in loops must not be used. | |
|
| CheckChangedInWhen | ANS127 | Deprecated bare variables in loops must not be used. | |
|
||||||
| CheckFQCNBuiltin | ANS128 | Module actions should use full qualified collection names. | |
|
| CheckFQCNBuiltin | ANS128 | Module actions should use full qualified collection names. | |
|
||||||
| CheckFQCNBuiltin | ANS129 | Check optimized plabook/tasks key order. | |
|
| CheckFQCNBuiltin | ANS129 | Check optimized playbook/tasks key order. | |
|
||||||
| CheckDeprecated | ANS999 | Deprecated features of `ansible-later` should not be used. | |
|
| CheckDeprecated | ANS999 | Deprecated features of `ansible-later` should not be used. | |
|
||||||
|
|
Loading…
Reference in New Issue