mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
inventory groups: make sure group.depth is updated on all grandchildren
This commit is contained in:
parent
1c86909875
commit
cc8efb4aab
2 changed files with 11 additions and 1 deletions
|
@ -68,7 +68,6 @@ class InventoryDirectory(object):
|
|||
self.groups[name] = group
|
||||
else:
|
||||
# group is already there, copy variables
|
||||
# note: depth numbers on duplicates may be bogus
|
||||
for k, v in group.get_variables().iteritems():
|
||||
self.groups[name].set_variable(k, v)
|
||||
for host in group.hosts:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue