Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't require role name on internal vars #109

Merged
merged 1 commit into from
May 16, 2023

Conversation

gardar
Copy link
Member

@gardar gardar commented May 16, 2023

This disables the linting rule no-role-prefix which got introduced in ansible-lint v6.16.1.

We prefer to use leading underscores to distinguish internal variables as in python rather than prefixing them with the role name.
ansible/ansible-lint#3422 (comment)

Signed-off-by: gardar <gardar@users.noreply.github.com>
@gardar gardar requested a review from SuperQ May 16, 2023 13:01
@gardar gardar merged commit b9777cf into prometheus-community:main May 16, 2023
17 checks passed
@gardar gardar deleted the no-role-prefix branch May 16, 2023 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants