mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
add all group vars back to implicit localhost
fixes #31857 reverts #31425
This commit is contained in:
parent
bd0e1b8743
commit
7fe6a8dab7
2 changed files with 10 additions and 8 deletions
|
@ -79,6 +79,9 @@ class InventoryData(object):
|
|||
else:
|
||||
new_host = Host(pattern)
|
||||
|
||||
# use 'all' vars but not part of all group
|
||||
new_host.vars = self.groups['all'].get_vars()
|
||||
|
||||
new_host.address = "127.0.0.1"
|
||||
new_host.implicit = True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue