diff --git a/lib/ansible/playbook/play.py b/lib/ansible/playbook/play.py index 1e1e52dd13..93b9504998 100644 --- a/lib/ansible/playbook/play.py +++ b/lib/ansible/playbook/play.py @@ -649,7 +649,7 @@ class Play(object): raise errors.AnsibleError("'vars_prompt' section is malformed, see docs") if type(self.playbook.extra_vars) == dict: - vars.update(self.playbook.extra_vars) + vars = utils.combine_vars(vars, self.playbook.extra_vars) return vars