I think @evgeni also mentioned something like that not too long ago, IIRC on Matrix, for the Foreman collection. There the role names are short and somewhat generic (foreman-ansible-modules/roles at develop · theforeman/foreman-ansible-modules · GitHub) and you don’t want just these as a prefix. In case of the Foreman collection, all var names start with foreman_
(or __foreman_
for private vars), so a first solution (instead of using # noqa
) was to set var_naming_pattern
: foreman-ansible-modules/.ansible-lint at develop · theforeman/foreman-ansible-modules · GitHub
1 Like