You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When linting roles/playbooks that include "foreign" roles and var-naming[pattern] is set, that pattern is also applied to vars passed to those foreign roles
Issue Type
Bug Report
OS / ENVIRONMENT
% ansible-lint --versionansible-lint 24.2.1 using ansible-core:2.16.5 ansible-compat:4.1.11 ruamel-yaml:0.18.6 ruamel-yaml-clib:0.2.8
Summary
When linting roles/playbooks that include "foreign" roles and
var-naming[pattern]
is set, that pattern is also applied to vars passed to those foreign rolesIssue Type
OS / ENVIRONMENT
STEPS TO REPRODUCE
Desired Behavior
I would expect ansible-lint to catch that this is calling out to foreign code, and not apply
var-naming[pattern]
here.Actual Behavior
Please see above "steps to reproduce"
Additional information
I've seen this on 6.18.0 and 24.2.1.
I am certain some older version did not have this issue, but I don't have data which one exactly.
The text was updated successfully, but these errors were encountered: