Param fixes to associateIpAddress
This commit is contained in:
parent
7d791a8593
commit
abe0bbd5e1
1 changed files with 3 additions and 1 deletions
|
@ -173,7 +173,9 @@ class AnsibleCloudStackIPAddress(AnsibleCloudStack):
|
||||||
def associate_ip_address(self):
|
def associate_ip_address(self):
|
||||||
self.result['changed'] = True
|
self.result['changed'] = True
|
||||||
args = {}
|
args = {}
|
||||||
args['account'] = self.get_account(key='id')
|
args['account'] = self.get_account(key='name')
|
||||||
|
args['domainid'] = self.get_domain(key='id')
|
||||||
|
args['projectid'] = self.get_project(key='id')
|
||||||
args['networkid'] = self.get_network(key='id')
|
args['networkid'] = self.get_network(key='id')
|
||||||
args['zoneid'] = self.get_zone(key='id')
|
args['zoneid'] = self.get_zone(key='id')
|
||||||
ip_address = {}
|
ip_address = {}
|
||||||
|
|
Loading…
Reference in a new issue