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
While it make sense to have any vars declare in defaults or a vars of role to be prefixed by the rolename, it seems strange to have to do so for internal variable, belonging to one play inside the role. The perfect example for that is the loop_var name. If a play inside a role iterate on some list, should this "one-time", internal variable be prefixed by the role name?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
While it make sense to have any vars declare in defaults or a vars of role to be prefixed by the rolename, it seems strange to have to do so for internal variable, belonging to one play inside the role. The perfect example for that is the loop_var name. If a play inside a role iterate on some list, should this "one-time", internal variable be prefixed by the role name?
Beta Was this translation helpful? Give feedback.
All reactions