Which Value Wins
http_port is set to 80 in group_vars/web.yml, to 8080 in host_vars/web1.yml, and passed as -e http_port=9090 on the command line. What does web1 get?
http_port
group_vars/web.yml
host_vars/web1.yml
-e http_port=9090
web1
Choose one answer
80, because group variables are applied last
The first one Ansible reads, which depends on file order
9090: extra vars (-e) have the highest precedence
-e
8080, because host variables always win