mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
fix: return sorted alias_ips in server_network module (#458)
##### SUMMARY - test: use testing framework for server_network integration tests - fix: return sorted alias_ips in server_network module ##### ISSUE TYPE - Bugfix Pull Request ##### COMPONENT NAME server_network
This commit is contained in:
parent
cf52215864
commit
1ae6769210
7 changed files with 127 additions and 163 deletions
|
|
@ -131,7 +131,7 @@ class AnsibleHCloudServerNetwork(AnsibleHCloud):
|
|||
"network": to_native(self.hcloud_network.name),
|
||||
"server": to_native(self.hcloud_server.name),
|
||||
"ip": to_native(self.hcloud_server_network.ip),
|
||||
"alias_ips": self.hcloud_server_network.alias_ips,
|
||||
"alias_ips": [to_native(ip) for ip in sorted(self.hcloud_server_network.alias_ips)],
|
||||
}
|
||||
|
||||
def _get_server_and_network(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue