mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-14 21:19:12 -07:00
cs_snapshot_policy: fix VM not found in non-default zone
This commit is contained in:
parent
d6e1f02990
commit
4dc3874176
2 changed files with 3 additions and 3 deletions
|
@ -222,7 +222,7 @@ class AnsibleCloudStackSnapshotPolicy(AnsibleCloudStack):
|
|||
'account': self.get_account(key='name'),
|
||||
'domainid': self.get_domain(key='id'),
|
||||
'projectid': self.get_project(key='id'),
|
||||
'virtualmachineid': self.get_vm(key='id'),
|
||||
'virtualmachineid': self.get_vm(key='id', filter_zone=False),
|
||||
'type': self.module.params.get('volume_type'),
|
||||
}
|
||||
volumes = self.query_api('listVolumes', **args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue