-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationhelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Milestone
Description
The newest version of ansible-lint
says, variables within roles should use the role name as a prefix.
For the most part we already stick to that rule. But we have a bunch of variables that are global to the whole collection. They are mostly used for interaction between the roles in the collection. These are prefixed with elastic_
.
How should we deal with this new rule?
- Just put an exception into the
ansible-lint
configuration? - Rename the variables so that they are local to every role? If we need interaction we need a lot of
set_fact
for synchronization. - Come up with a completely different solution?
- Find a way to have "global variables" in collections? A short search didn't reveal any option to do that.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationhelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested