diff --git a/lib/ansible/modules/cloud/cloudstack/cs_nic.py b/lib/ansible/modules/cloud/cloudstack/cs_nic.py index e8271b2fd8..e819c4041f 100644 --- a/lib/ansible/modules/cloud/cloudstack/cs_nic.py +++ b/lib/ansible/modules/cloud/cloudstack/cs_nic.py @@ -186,7 +186,7 @@ class AnsibleCloudStackNic(AnsibleCloudStack): return self.nic args = { 'virtualmachineid': self.get_vm(key='id'), - 'networkdid': self.get_network(key='id'), + 'networkid': self.get_network(key='id'), } nics = self.cs.listNics(**args) if nics: