From 15b6ae8e5c3935a16228b931edbf59bd1e9163d1 Mon Sep 17 00:00:00 2001 From: Rene Moser Date: Sun, 19 Jul 2015 15:10:36 +0200 Subject: [PATCH] cloudstack: cs_instance: fix display_name not used in deployment --- lib/ansible/modules/extras/cloud/cloudstack/cs_instance.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/extras/cloud/cloudstack/cs_instance.py b/lib/ansible/modules/extras/cloud/cloudstack/cs_instance.py index 045bbb50954..a02fecd1e6f 100644 --- a/lib/ansible/modules/extras/cloud/cloudstack/cs_instance.py +++ b/lib/ansible/modules/extras/cloud/cloudstack/cs_instance.py @@ -517,6 +517,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack): args['ipaddress'] = self.module.params.get('ip_address') args['ip6address'] = self.module.params.get('ip6_address') args['name'] = self.module.params.get('name') + args['displayname'] = self.get_or_fallback('display_name', 'name') args['group'] = self.module.params.get('group') args['keypair'] = self.module.params.get('ssh_key') args['size'] = self.module.params.get('disk_size')