1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

chore: Do not return id of volume

This commit is contained in:
Amirhossein Shaerpour 2025-04-02 22:34:20 +03:30 committed by shaerpour
parent e654b13a4d
commit ba4a2a6afe
No known key found for this signature in database
GPG key ID: D89285D72B39ED8F

View file

@ -77,11 +77,6 @@ hcloud_server_volume:
returned: always
type: complex
contains:
id:
description: ID of the Volume
type: int
returned: always
sample: 123456
volume:
description: Name of the Volume
type: str
@ -110,7 +105,6 @@ class AnsibleHCloudServerVolume(AnsibleHCloud):
def _prepare_result(self):
return {
"id": str(self.hcloud_server_volume.id),
"volume": self.hcloud_server_volume.name,
"server": self.hcloud_server.name,
}