Hi,
I’m trying to override some default variables in a rolebook that I’m using from ansible galaxy. In my playbook I have the following:
`
Hi,
I’m trying to override some default variables in a rolebook that I’m using from ansible galaxy. In my playbook I have the following:
`
Roles having a defaults/main.yml will have, in that file, variables that are lower priority than basically anything in Ansible - including inventory.
Variables in vars/ are going to be used.
It seems the confusion is the use of “vars/” instead of “defaults/”.
(In either case, this is a matter of overriding things - precedence - not OO inheritance)