Skip to content

Commit

Permalink
Fix repetitive ansible_net key in gather_subset (ansible#58702)
Browse files Browse the repository at this point in the history
Signed-off-by: Trishna Guha <[email protected]>
  • Loading branch information
trishnaguha authored Jul 4, 2019
1 parent 8b844b6 commit 7b20535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/module_utils/network/common/facts/facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def get_network_legacy_facts(self, fact_legacy_obj_map, legacy_facts_type=None):
runable_subsets.add('default')
if runable_subsets:
facts = dict()
facts['ansible_net_gather_subset'] = list(runable_subsets)
self.ansible_facts['ansible_net_gather_subset'] = list(runable_subsets)

instances = list()
for key in runable_subsets:
Expand Down

0 comments on commit 7b20535

Please sign in to comment.