Fixes after Travis feedback

reviewable/pr18780/r1
Laurent Mazuel 9 years ago
parent 36b9fe9ac9
commit 027ae690c4

@ -300,6 +300,9 @@ EXAMPLES = '''
value: devopscleazure value: devopscleazure
''' '''
RETURN = '''
'''
try: try:
import time import time
import yaml import yaml
@ -585,9 +588,6 @@ def get_instances(client, group, deployment):
return [dict(vm_name=vm.resource_name, ips=[get_ip_dict(ip) for ip in ips]) for vm, ips in vms_and_ips if len(ips) > 0] return [dict(vm_name=vm.resource_name, ips=[get_ip_dict(ip) for ip in ips]) for vm, ips in vms_and_ips if len(ips) > 0]
# import module snippets
from ansible.module_utils.basic import AnsibleModule
def main(): def main():
argument_spec = dict( argument_spec = dict(
azure_url=dict(default=AZURE_URL), azure_url=dict(default=AZURE_URL),
@ -656,6 +656,9 @@ def main():
destroy_resource_group(module, resource_client, conn_info) destroy_resource_group(module, resource_client, conn_info)
module.exit_json(changed=True, msg='deployment deleted') module.exit_json(changed=True, msg='deployment deleted')
# import module snippets
from ansible.module_utils.basic import *
if __name__ == '__main__': if __name__ == '__main__':
main() main()

Loading…
Cancel
Save