What’s the difference between defaults and vars in an Ansible role?
The Ansible documentation on variable precedence summarizes this nicely: If multiple variables of the same name are defined in different places, they win in a certain order, which is: extra vars (-e in the command line) always win then comes connection variables defined in inventory (ansible_ssh_user, etc) then comes “most everything else” (command line switches, … Read more