Skip to content

Commit

Permalink
Add metadata tag to the role-name rule (#1564)
Browse files Browse the repository at this point in the history
role-name rule is based on the metadata info. Thus, it would be expected
by users to also exclude this task, when `-x metadata` is set in the
config

Signed-Off-By: Dmitriy Rabotyagov <noonedeadpunk@ya.ru>
  • Loading branch information
Dmitriy Rabotyagov committed May 21, 2021
1 parent 379f7eb commit 127d248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ansiblelint/rules/RoleNames.py
Expand Up @@ -49,7 +49,7 @@ class RoleNames(AnsibleLintRule):
)
severity = 'HIGH'
done: List[str] = [] # already noticed roles list
tags = ['deprecations']
tags = ['deprecations', 'metadata']
version_added = 'v4.3.0'

def __init__(self) -> None:
Expand Down

0 comments on commit 127d248

Please sign in to comment.