Skip to content

Commit

Permalink
Merge pull request #20 from Silentirk/fix-ipv6
Browse files Browse the repository at this point in the history
fix: creating instances with ipv6 public address
  • Loading branch information
amarao authored Jul 11, 2024
2 parents c139265 + c5e1b2c commit d876bad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansible_collections/serverscom/sc_api/galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: serverscom
name: sc_api
version: 0.1.0
version: 0.1.1
readme: README.md
authors:
- George Shuklin <george.shuklin@gmail.com>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def post_instance(
if not ipv4_enabled:
body["ipv4_enabled"] = False
if ipv6_enabled:
body["ipv6_enabled"] = False
body["ipv6_enabled"] = True
if ssh_key_fingerprint:
body["ssh_key_fingerprint"] = ssh_key_fingerprint
if backup_copies is not None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
- "'52310c60-7446-482d-a30e-2bedeb515878' in test6_instances|to_json"
- test6.status == 'ACTIVE'
- test6.name == '52310c60-7446-482d-a30e-2bedeb515878'
- test6.public_ipv6_address

- name: Test6, create the same instance second time
sc_cloud_computing_instance:
Expand Down

0 comments on commit d876bad

Please sign in to comment.