mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Surround top-level function and class definitions with two blank lines.
This commit is contained in:
parent
9e310558ee
commit
b954917761
373 changed files with 408 additions and 28 deletions
|
@ -222,5 +222,6 @@ def main():
|
|||
|
||||
module.exit_json(**result)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -325,5 +325,6 @@ def main():
|
|||
else:
|
||||
delete_glue_connection(connection_glue, module, glue_connection)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -361,5 +361,6 @@ def main():
|
|||
else:
|
||||
delete_glue_job(connection, module, glue_job)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -187,5 +187,6 @@ def main():
|
|||
elif state == 'absent':
|
||||
destroy_bucket_cors(client, module)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -727,5 +727,6 @@ def main():
|
|||
|
||||
module.exit_json(changed=changed, **camel_dict_to_snake_dict(response))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -535,5 +535,6 @@ def main():
|
|||
|
||||
module.exit_json(**facts_result)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -354,5 +354,6 @@ def main():
|
|||
|
||||
module.exit_json(**facts_result)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -569,5 +569,6 @@ def main():
|
|||
else:
|
||||
delete_elb(elb)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -415,5 +415,6 @@ def main():
|
|||
else:
|
||||
delete_elb(elb)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -312,5 +312,6 @@ def main():
|
|||
else:
|
||||
deregister_target(connection, module)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -204,6 +204,7 @@ def to_template_params(health_check):
|
|||
params['string_match_part'] = HealthCheck.XMLStringMatchPart % {'string_match': health_check.string_match}
|
||||
return params
|
||||
|
||||
|
||||
XMLResourcePathPart = """<ResourcePath>%(resource_path)s</ResourcePath>"""
|
||||
|
||||
POSTXMLBody = """
|
||||
|
|
|
@ -309,5 +309,6 @@ def main():
|
|||
"""Main execution"""
|
||||
AzureRMAvailabilitySet()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -172,5 +172,6 @@ def main():
|
|||
|
||||
AzureRMAvailabilitySetFacts()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -424,5 +424,6 @@ def main():
|
|||
"""Main execution"""
|
||||
AzureRMContainerInstance()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -424,5 +424,6 @@ def main():
|
|||
"""Main execution"""
|
||||
AzureRMContainerRegistry()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -388,5 +388,6 @@ def gethash(self):
|
|||
def main():
|
||||
AzureRMRecordSet()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -197,5 +197,6 @@ class AzureRMRecordSetFacts(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMRecordSetFacts()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -236,5 +236,6 @@ def zone_to_dict(zone):
|
|||
def main():
|
||||
AzureRMDNSZone()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -177,5 +177,6 @@ class AzureRMDNSZoneFacts(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMDNSZoneFacts()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -309,5 +309,6 @@ def main():
|
|||
|
||||
AzureRMFunctionApp()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -316,5 +316,6 @@ class AzureRMImage(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMImage()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -489,5 +489,6 @@ def main():
|
|||
"""Main execution"""
|
||||
AzureRMVaults()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -291,5 +291,6 @@ class AzureRMKeyVaultKey(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMKeyVaultKey()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -212,5 +212,6 @@ class AzureRMKeyVaultSecret(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMKeyVaultSecret()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -970,5 +970,6 @@ def main():
|
|||
"""Main execution"""
|
||||
AzureRMLoadBalancer()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -170,5 +170,6 @@ def main():
|
|||
|
||||
AzureRMLoadBalancerFacts()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -384,5 +384,6 @@ def main():
|
|||
"""Main execution"""
|
||||
AzureRMManagedDisk()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -166,5 +166,6 @@ def main():
|
|||
|
||||
AzureRMManagedDiskFacts()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -299,5 +299,6 @@ def main():
|
|||
"""Main execution"""
|
||||
AzureRMDatabases()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -373,5 +373,6 @@ def main():
|
|||
"""Main execution"""
|
||||
AzureRMServers()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -206,5 +206,6 @@ class AzureRMNetworkInterfaceFacts(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMNetworkInterfaceFacts()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -299,5 +299,6 @@ def main():
|
|||
"""Main execution"""
|
||||
AzureRMDatabases()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -372,5 +372,6 @@ def main():
|
|||
"""Main execution"""
|
||||
AzureRMServers()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -282,5 +282,6 @@ class AzureRMPublicIPAddress(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMPublicIPAddress()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -251,5 +251,6 @@ class AzureRMResourceGroup(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMResourceGroup()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -152,5 +152,6 @@ class AzureRMResourceGroupFacts(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMResourceGroupFacts()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -270,5 +270,6 @@ class AzureRMSecurityGroupFacts(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMSecurityGroupFacts()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -495,5 +495,6 @@ def main():
|
|||
"""Main execution"""
|
||||
AzureRMDatabases()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -321,5 +321,6 @@ def main():
|
|||
"""Main execution"""
|
||||
AzureRMServers()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -200,5 +200,7 @@ class AzureRMServersFacts(AzureRMModuleBase):
|
|||
|
||||
def main():
|
||||
AzureRMServersFacts()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -451,5 +451,6 @@ class AzureRMStorageAccount(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMStorageAccount()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -545,5 +545,6 @@ class AzureRMStorageBlob(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMStorageBlob()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -311,5 +311,6 @@ class AzureRMSubnet(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMSubnet()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -309,5 +309,6 @@ def main():
|
|||
"""Main execution"""
|
||||
AzureRMVMExtension()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -851,5 +851,6 @@ class AzureRMVirtualMachineScaleSet(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMVirtualMachineScaleSet()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -277,5 +277,6 @@ def main():
|
|||
|
||||
AzureRMVirtualMachineScaleSetFacts()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -215,5 +215,6 @@ class AzureRMVirtualMachineImageFacts(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMVirtualMachineImageFacts()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -344,5 +344,6 @@ class AzureRMVirtualNetwork(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMVirtualNetwork()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -176,5 +176,6 @@ class AzureRMNetworkInterfaceFacts(AzureRMModuleBase):
|
|||
def main():
|
||||
AzureRMNetworkInterfaceFacts()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -290,5 +290,6 @@ def main():
|
|||
elif module.state == 'absent':
|
||||
module.state_absent()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -327,5 +327,6 @@ def raise_if_errors(response, err_path, module):
|
|||
if errors is not None:
|
||||
module.fail_json(msg=errors)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -327,5 +327,6 @@ def raise_if_errors(response, err_path, module):
|
|||
if errors is not None:
|
||||
module.fail_json(msg=errors)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -852,5 +852,6 @@ class BackeServiConneDrain(object):
|
|||
u'drainingTimeoutSec': self.request.get(u'drainingTimeoutSec')
|
||||
})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -631,5 +631,6 @@ class DiskSourSnapEncrKey(object):
|
|||
u'sha256': self.request.get(u'sha256')
|
||||
})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -473,5 +473,6 @@ class FirewallAllowedArray(object):
|
|||
u'ports': item.get(u'ports')
|
||||
})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -521,5 +521,6 @@ def raise_if_errors(response, err_path, module):
|
|||
if errors is not None:
|
||||
module.fail_json(msg=errors)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -323,5 +323,6 @@ def raise_if_errors(response, err_path, module):
|
|||
if errors is not None:
|
||||
module.fail_json(msg=errors)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -572,5 +572,6 @@ def raise_if_errors(response, err_path, module):
|
|||
if errors is not None:
|
||||
module.fail_json(msg=errors)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -795,5 +795,6 @@ class HealChecSslHealChec(object):
|
|||
u'proxyHeader': self.request.get(u'proxyHeader')
|
||||
})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -398,5 +398,6 @@ def raise_if_errors(response, err_path, module):
|
|||
if errors is not None:
|
||||
module.fail_json(msg=errors)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -397,5 +397,6 @@ def raise_if_errors(response, err_path, module):
|
|||
if errors is not None:
|
||||
module.fail_json(msg=errors)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -749,5 +749,6 @@ class ImagSourDiskEncrKey(object):
|
|||
u'sha256': self.request.get(u'sha256')
|
||||
})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -1464,5 +1464,6 @@ class InstanceTags(object):
|
|||
u'items': self.request.get(u'items')
|
||||
})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -430,5 +430,6 @@ class InstaGroupNamedPortsArray(object):
|
|||
u'port': item.get(u'port')
|
||||
})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -591,5 +591,6 @@ class InstGrouManaNamePortArray(object):
|
|||
u'port': item.get(u'port')
|
||||
})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -1439,5 +1439,6 @@ class InstancTemplatTags(object):
|
|||
u'items': self.request.get(u'items')
|
||||
})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -354,5 +354,6 @@ def raise_if_errors(response, err_path, module):
|
|||
if errors is not None:
|
||||
module.fail_json(msg=errors)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -414,5 +414,6 @@ def raise_if_errors(response, err_path, module):
|
|||
if errors is not None:
|
||||
module.fail_json(msg=errors)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -338,5 +338,6 @@ def raise_if_errors(response, err_path, module):
|
|||
if errors is not None:
|
||||
module.fail_json(msg=errors)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -386,5 +386,6 @@ def raise_if_errors(response, err_path, module):
|
|||
if errors is not None:
|
||||
module.fail_json(msg=errors)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -348,5 +348,6 @@ def raise_if_errors(response, err_path, module):
|
|||
if errors is not None:
|
||||
module.fail_json(msg=errors)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -400,5 +400,6 @@ def raise_if_errors(response, err_path, module):
|
|||
if errors is not None:
|
||||
module.fail_json(msg=errors)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -419,5 +419,6 @@ def decode_request(response, module):
|
|||
|
||||
return response
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -408,5 +408,6 @@ def raise_if_errors(response, err_path, module):
|
|||
if errors is not None:
|
||||
module.fail_json(msg=errors)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -357,5 +357,6 @@ def raise_if_errors(response, err_path, module):
|
|||
if errors is not None:
|
||||
module.fail_json(msg=errors)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -673,5 +673,6 @@ class UrlMapTestsArray(object):
|
|||
u'service': item.get(u'service')
|
||||
})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -948,5 +948,6 @@ class ClustHorizPodAutos(object):
|
|||
u'disabled': self.request.get(u'disabled')
|
||||
})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -760,5 +760,6 @@ class NodePoolUpgraOptio(object):
|
|||
u'description': self.request.get(u'description')
|
||||
})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -281,5 +281,6 @@ def response_to_hash(module, response):
|
|||
u'creationTime': response.get(u'creationTime')
|
||||
}
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -457,5 +457,6 @@ def return_if_change_object(module, response):
|
|||
|
||||
return result
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -344,5 +344,6 @@ class SubscriPushConfig(object):
|
|||
u'pushEndpoint': self.request.get(u'pushEndpoint')
|
||||
})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -223,5 +223,6 @@ def encode_request(request, module):
|
|||
'topics', module.params['name']])
|
||||
return request
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -1162,5 +1162,6 @@ class BucketWebsite(object):
|
|||
u'notFoundPage': self.request.get(u'notFoundPage')
|
||||
})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -359,5 +359,6 @@ class BuckAcceContProjTeam(object):
|
|||
u'team': self.request.get(u'team')
|
||||
})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -328,5 +328,6 @@ def main():
|
|||
json_output.update(mod_params)
|
||||
module.exit_json(**json_output)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -158,6 +158,7 @@ def get_all_images(client):
|
|||
|
||||
return pool
|
||||
|
||||
|
||||
IMAGE_STATES = ['INIT', 'READY', 'USED', 'DISABLED', 'LOCKED', 'ERROR', 'CLONE', 'DELETE', 'USED_PERS', 'LOCKED_USED', 'LOCKED_USED_PERS']
|
||||
|
||||
|
||||
|
|
|
@ -1026,6 +1026,7 @@ def create_exact_count_of_vms(module, client, template_id, exact_count, attribut
|
|||
|
||||
return changed, instances_list, tagged_instances_list
|
||||
|
||||
|
||||
VM_STATES = ['INIT', 'PENDING', 'HOLD', 'ACTIVE', 'STOPPED', 'SUSPENDED', 'DONE', '', 'POWEROFF', 'UNDEPLOYED', 'CLONING', 'CLONING_FAILURE']
|
||||
LCM_STATES = ['LCM_INIT', 'PROLOG', 'BOOT', 'RUNNING', 'MIGRATE', 'SAVE_STOP',
|
||||
'SAVE_SUSPEND', 'SAVE_MIGRATE', 'PROLOG_MIGRATE', 'PROLOG_RESUME',
|
||||
|
@ -1175,6 +1176,7 @@ def check_name_attribute(module, attributes):
|
|||
module.fail_json(msg="Ilegal 'NAME' attribute: '" + attributes.get("NAME") +
|
||||
"' .Signs '#' are allowed only at the end of the name and the name cannot contain only '#'.")
|
||||
|
||||
|
||||
TEMPLATE_RESTRICTED_ATTRIBUTES = ["CPU", "VCPU", "OS", "FEATURES", "MEMORY", "DISK", "NIC", "INPUT", "GRAPHICS",
|
||||
"CONTEXT", "CREATED_BY", "CPU_COST", "DISK_COST", "MEMORY_COST",
|
||||
"TEMPLATE_ID", "VMID", "AUTOMATIC_DS_REQUIREMENTS", "DEPLOY_FOLDER", "LABELS"]
|
||||
|
|
|
@ -269,5 +269,6 @@ def main():
|
|||
finally:
|
||||
connection.close(logout=auth.get('token') is None)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
@ -103,5 +103,6 @@ def main():
|
|||
finally:
|
||||
connection.close(logout=auth.get('token') is None)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -636,5 +636,6 @@ def main():
|
|||
module.fail_json(msg='failed to set device state %s, error: %s' %
|
||||
(state, to_native(e)), exception=traceback.format_exc())
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -102,5 +102,6 @@ def main():
|
|||
|
||||
module.exit_json(ansible_facts=data)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -331,5 +331,6 @@ def main():
|
|||
pyv = VmBootManager(module)
|
||||
pyv.ensure()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -107,5 +107,6 @@ def main():
|
|||
vmware_local_user_facts = VMwareUserFactsManager(module)
|
||||
vmware_local_user_facts.gather_user_facts()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue