mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-06-10 04:10:58 +02:00
add docs
This commit is contained in:
parent
327400ff22
commit
809c9c99bc
|
@ -27,9 +27,9 @@ from ansiblelater.utils import has_glob, has_jinja
|
|||
class CheckDeprecatedBareVars(StandardBase):
|
||||
|
||||
sid = "ANSIBLE0027"
|
||||
description = "Bare variables in loops are deprecated"
|
||||
description = "Deprecated bare variables in loops must not be used"
|
||||
helptext = (
|
||||
"bare var '{barevar}' in '{loop_type}' should use full var syntax ('{{{{ {barevar} }}}}') "
|
||||
"bare var '{barevar}' in '{loop_type}' must use full var syntax ('{{{{ {barevar} }}}}') "
|
||||
"or be converted to a list"
|
||||
)
|
||||
version = "0.3"
|
||||
|
|
|
@ -41,5 +41,6 @@ Reviews are useless without some rules or standards to check against. ansible-la
|
|||
| CheckLocalAction | ANSIBLE0024 | Don't use local_action. | |
|
||||
| CheckRelativeRolePaths | ANSIBLE0025 | Don't use a relative path in a role. | |
|
||||
| CheckChangedInWhen | ANSIBLE0026 | Use handlers instead of `when: changed`. | |
|
||||
| CheckChangedInWhen | ANSIBLE0027 | Deprecated bare variables in loops must not be used. | |
|
||||
| CheckVersion | ANSIBLE9998 | Standards version should be pinned. | |
|
||||
| CheckDeprecated | ANSIBLE9999 | Deprecated features of `ansible-later` should not be used. | |
|
||||
|
|
Loading…
Reference in New Issue
Block a user