In an ansible role, i need to define constants for some paths, not changeable by users in their playbook.
Here's my need:
the role will have a {{app_base_path}} variable (changeable by user), and then i want to set 2 constants:
- app_instance_path: "{{app_base_path}}/appinstance"
- app_server_path: "{{app_instance_path}}/appserver"
I need each value several times in my tasks so i can't set only one variable for it
What's the best way to do it?
Thanks.