I was converting one of my playbooks into a collection to utilize galaxy instead of manual source control for swift deployment when realized that var prefix is not enforced anymore. Since this is now a collection, it makes sense to allow correct usage outside of my playbooks. But I am not sure if I should add prefixes to all role vars (params) or keep current layout Am I getting this right that now variables supplied as parameters to a role would resolve possible collisions since role params would have higher priority?
Back in the days I would append prefix as I did with dotfiles role (in another collection) and linter would agree but things seems to be different now and I can’t find any relative documentation with active links.
current var usage (playbook): https://github.com/charlesrocket/freebsd-collection/blob/trunk/profiles/charlesrocket/station.yml
I thought the linter would help to clear things out but I can not make it to complain on the topic no matter what I do - like it does not care anymore about var prefixes.