diff options
author | Laurent Mazuel <lmazuel@microsoft.com> | 2016-03-14 11:01:30 -0700 |
---|---|---|
committer | Laurent Mazuel <lmazuel@microsoft.com> | 2016-03-14 11:01:30 -0700 |
commit | 027ae690c4362327c6d7d8f4d92b67dd84d332c5 (patch) | |
tree | 6587071d2b8af93ee0a82abb0a17c9305143c5ad /cloud/azure | |
parent | 36b9fe9ac9b7614369932e3dd4a47155ca97735e (diff) | |
download | ansible-modules-extras-027ae690c4362327c6d7d8f4d92b67dd84d332c5.tar.gz |
Fixes after Travis feedback
Diffstat (limited to 'cloud/azure')
-rw-r--r-- | cloud/azure/__init__.py | 0 | ||||
-rw-r--r-- | cloud/azure/azure_deployment.py | 9 |
2 files changed, 6 insertions, 3 deletions
diff --git a/cloud/azure/__init__.py b/cloud/azure/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/cloud/azure/__init__.py diff --git a/cloud/azure/azure_deployment.py b/cloud/azure/azure_deployment.py index 776d5c22..c7b9f2cc 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() |