mirror of
https://github.com/ansible-collections/hetzner.hcloud
synced 2024-11-10 06:34:13 +00:00
fixes alias_ips by using sorted (#134)
This commit is contained in:
parent
9ba784a1fe
commit
fae1449c59
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ class AnsibleHcloudServerNetwork(Hcloud):
|
|||
"network": self.hcloud_network
|
||||
}
|
||||
alias_ips = self.module.params.get("alias_ips")
|
||||
if alias_ips is not None and self.hcloud_server_network.alias_ips.sort() != alias_ips.sort():
|
||||
if alias_ips is not None and sorted(self.hcloud_server_network.alias_ips) != sorted(alias_ips):
|
||||
params["alias_ips"] = alias_ips
|
||||
|
||||
if not self.module.check_mode:
|
||||
|
|
Loading…
Reference in a new issue