mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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.
This commit is contained in:
parent
bd7e02d629
commit
e44b85daba
1 changed files with 0 additions and 3 deletions
|
@ -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…
Reference in a new issue