Remove special-casing for all group

global_vars has higher precedence than inventory. Putting the all
group's variables into it overrides all other groups and hosts.

Partially fixes #1647.
pull/1661/merge
Daniel Hokka Zakrisson 12 years ago
parent bd7e02d629
commit e44b85daba

@ -110,9 +110,6 @@ class PlayBook(object):
self.inventory = ansible.inventory.Inventory(host_list)
self.inventory.subset(subset)
if not self.inventory._is_script:
self.global_vars.update(self.inventory.get_group_variables('all'))
self.basedir = os.path.dirname(playbook)
(self.playbook, self.play_basedirs) = self._load_playbook_from_file(playbook)

Loading…
Cancel
Save