diff --git a/library/hpilo_facts b/library/hpilo_facts index 88a724aacaa..66e8f490e41 100755 --- a/library/hpilo_facts +++ b/library/hpilo_facts @@ -124,7 +124,9 @@ def main(): # TODO: Count number of CPUs, DIMMs and total memory data = ilo.get_host_data() - facts = {} + facts = { + 'module_hw': True, + } for entry in data: if not entry.has_key('type'): continue if entry['type'] == 0: # BIOS Information diff --git a/library/vsphere_facts b/library/vsphere_facts index 4fc753b561a..378a76c753c 100755 --- a/library/vsphere_facts +++ b/library/vsphere_facts @@ -107,6 +107,7 @@ def main(): data = vm.get_properties() facts = { + 'module_hw': True, 'hw_name': vm.properties.name, 'hw_guest_full_name': vm.properties.config.guestFullName, 'hw_guest_id': vm.properties.config.guestId,