From 13efabfd1ea61ece040d468ee0577824441b72a9 Mon Sep 17 00:00:00 2001 From: Vil Surkin Date: Wed, 19 Apr 2023 16:52:46 +0300 Subject: [PATCH] fix gpn parameter on instance creation --- .../serverscom/sc_api/plugins/module_utils/modules.py | 2 +- .../sc_api/plugins/modules/sc_cloud_computing_instance.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible_collections/serverscom/sc_api/plugins/module_utils/modules.py b/ansible_collections/serverscom/sc_api/plugins/module_utils/modules.py index e8cf48e..7d2c089 100644 --- a/ansible_collections/serverscom/sc_api/plugins/module_utils/modules.py +++ b/ansible_collections/serverscom/sc_api/plugins/module_utils/modules.py @@ -519,7 +519,7 @@ def create_instance(self): name=self.name, flavor_id=self.flavor_id, image_id=self.image_id, - gpn_enabled=self.image_id, + gpn_enabled=self.gpn_enabled, ipv4_enabled=self.ipv4_enabled, ipv6_enabled=self.ipv6_enabled, ssh_key_fingerprint=self.ssh_key_fingerprint, diff --git a/ansible_collections/serverscom/sc_api/plugins/modules/sc_cloud_computing_instance.py b/ansible_collections/serverscom/sc_api/plugins/modules/sc_cloud_computing_instance.py index e7cb4d0..fccb939 100644 --- a/ansible_collections/serverscom/sc_api/plugins/modules/sc_cloud_computing_instance.py +++ b/ansible_collections/serverscom/sc_api/plugins/modules/sc_cloud_computing_instance.py @@ -330,7 +330,7 @@ public_ipv6_address: type: str description: - - IPv5 address for instance. + - IPv6 address for instance. - May be missing if no IPv6 address was ordered or public inteface was detached via Openstack API. returned: on success