|
|
@ -23,7 +23,7 @@ DOCUMENTATION = '''
|
|
|
|
module: cs_instance
|
|
|
|
module: cs_instance
|
|
|
|
short_description: Manages instances and virtual machines on Apache CloudStack based clouds.
|
|
|
|
short_description: Manages instances and virtual machines on Apache CloudStack based clouds.
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Deploy, start, restart, stop and destroy instances.
|
|
|
|
- Deploy, start, update, scale, restart, stop and destroy instances.
|
|
|
|
version_added: '2.0'
|
|
|
|
version_added: '2.0'
|
|
|
|
author: "René Moser (@resmo)"
|
|
|
|
author: "René Moser (@resmo)"
|
|
|
|
options:
|
|
|
|
options:
|
|
|
@ -732,7 +732,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack):
|
|
|
|
if 'instancename' in instance:
|
|
|
|
if 'instancename' in instance:
|
|
|
|
self.result['instance_name'] = instance['instancename']
|
|
|
|
self.result['instance_name'] = instance['instancename']
|
|
|
|
if 'publicip' in instance:
|
|
|
|
if 'publicip' in instance:
|
|
|
|
self.result['public_ip'] = instance['public_ip']
|
|
|
|
self.result['public_ip'] = instance['publicip']
|
|
|
|
if 'passwordenabled' in instance:
|
|
|
|
if 'passwordenabled' in instance:
|
|
|
|
self.result['password_enabled'] = instance['passwordenabled']
|
|
|
|
self.result['password_enabled'] = instance['passwordenabled']
|
|
|
|
if 'password' in instance:
|
|
|
|
if 'password' in instance:
|
|
|
|