From 027ae690c4362327c6d7d8f4d92b67dd84d332c5 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Mon, 14 Mar 2016 11:01:30 -0700 Subject: [PATCH] Fixes after Travis feedback --- cloud/azure/__init__.py | 0 cloud/azure/azure_deployment.py | 9 ++++++--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 cloud/azure/__init__.py diff --git a/cloud/azure/__init__.py b/cloud/azure/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/cloud/azure/azure_deployment.py b/cloud/azure/azure_deployment.py index 776d5c2286f..c7b9f2ccea1 100644 --- a/cloud/azure/azure_deployment.py +++ b/cloud/azure/azure_deployment.py @@ -300,6 +300,9 @@ EXAMPLES = ''' value: devopscleazure ''' +RETURN = ''' +''' + try: import time 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] -# import module snippets -from ansible.module_utils.basic import AnsibleModule - def main(): argument_spec = dict( azure_url=dict(default=AZURE_URL), @@ -656,6 +656,9 @@ def main(): destroy_resource_group(module, resource_client, conn_info) module.exit_json(changed=True, msg='deployment deleted') +# import module snippets +from ansible.module_utils.basic import * + if __name__ == '__main__': main()