mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
clear correct cache when reconcile is invoked
moved it to ensure all callers get the correct hosts after
This commit is contained in:
committed by
Toshio Kuratomi
parent
7dc60c3f24
commit
fc9b44e021
@@ -168,6 +168,7 @@ class InventoryManager(object):
|
||||
return self._inventory.get_groups_dict()
|
||||
|
||||
def reconcile_inventory(self):
|
||||
self.clear_caches()
|
||||
return self._inventory.reconcile_inventory()
|
||||
|
||||
def get_host(self, hostname):
|
||||
|
||||
Reference in New Issue
Block a user