I have a variable config_src which i use in a lot many places (host vars, inventory file, playbook) and its value is supplied at the run time as extra vars (-e)
This variable is actually a path variable, so i need to ensure that it is always ending in a '/'. As this variable is in use in a lot of places, i want to make sure that a '/' is appended to it in a single place as applying some filter to all the places is not feasible. My inventory file is something that is common for all playbooks, so i think i should append the '/' somewhere in the inventory file only.
How can i do that ?