ansible/ansible — pull request #7598 by sgargan (2014-05-30 11:24:06+00:00)
Title: Resolve combined variables in runner so that extra vars override host ones

This pull request fixes the issue where extra variables are being resolved in the wrong order in the runner; it causes the host variables to trump the extras when the task is run. The discussion of the bug is described here, it mentions 1.5.4 but is still present in the 1.6 stream

https://groups.google.com/forum/#!searchin/ansible-project/1.5.4/ansible-project/feCFkDW12Bo/f6kFJDsJ7-kJ

This example repo illustrates the issue

https://github.com/sgargan/ansible_extras_resolution.git

Let me know if there is anything else I can help with here.