1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Reset self._groups_cache in refresh_inventory

This commit is contained in:
Abhijit Menon-Sen 2015-08-19 10:46:08 +05:30
parent 73d6da757f
commit 2641f70e47

View file

@ -672,6 +672,7 @@ class Inventory(object):
self._vars_per_host = {} self._vars_per_host = {}
self._vars_per_group = {} self._vars_per_group = {}
self._groups_list = {} self._groups_list = {}
self._groups_cache = {}
self.groups = [] self.groups = []
self.parse_inventory(self.host_list) self.parse_inventory(self.host_list)