cloudstack: cs_instance: fix display_name not used in deployment

This commit is contained in:
Rene Moser 2015-07-19 15:10:36 +02:00 committed by Matt Clay
parent 1f25377ce9
commit 15b6ae8e5c

View file

@ -517,6 +517,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack):
args['ipaddress'] = self.module.params.get('ip_address') args['ipaddress'] = self.module.params.get('ip_address')
args['ip6address'] = self.module.params.get('ip6_address') args['ip6address'] = self.module.params.get('ip6_address')
args['name'] = self.module.params.get('name') args['name'] = self.module.params.get('name')
args['displayname'] = self.get_or_fallback('display_name', 'name')
args['group'] = self.module.params.get('group') args['group'] = self.module.params.get('group')
args['keypair'] = self.module.params.get('ssh_key') args['keypair'] = self.module.params.get('ssh_key')
args['size'] = self.module.params.get('disk_size') args['size'] = self.module.params.get('disk_size')