Fixes after Travis feedback

This commit is contained in:
Laurent Mazuel 2016-03-14 11:01:30 -07:00
parent 36b9fe9ac9
commit 027ae690c4
2 changed files with 6 additions and 3 deletions

0
cloud/azure/__init__.py Normal file
View file

View file

@ -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()