mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Update os_server_volume for latest shade
The shade volume API was updated to return a dict rather than the object as returned by cinder.
This commit is contained in:
committed by
Matt Clay
parent
4ea6bded61
commit
c29ae705f0
@@ -126,8 +126,8 @@ def main():
|
||||
|
||||
module.exit_json(
|
||||
changed=True,
|
||||
id=volume.id,
|
||||
attachments=volume.attachments,
|
||||
id=volume['id'],
|
||||
attachments=volume['attachments'],
|
||||
openstack=hostvars
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user