Closed John222 closed 2 years ago
These modules are primary targeted to apache cloudstack's API.
Exoscale extended the cloudstack API in a custom way. The optional extended custom param would be ipv6=true
which defaults to false
(as well as ipv4 which defaults to true
and is not changeable).
I remember discussing this with exoscale and my suggestion at that time was to use the details param, which is explicitly there to pass additional params, but I am not sure if this was ever implemented by exoscale.
Could you try:
- name: Create VM with IPv6 enabled
ngine_io.cloudstack.cs_instance:
name: my VM
details:
ipv6: true
...
UPDATE:
tested it without success...
@John222
ah, found it, it works with ip6
(not ipv6
):
- name: Create VM with IPv6 enabled
ngine_io.cloudstack.cs_instance:
name: my VM
details:
ip6: true
...
Hello @resmo it did not worked. It seems, it gets ignored.
please share more infos, did you deploy a fresh vm? update vm? playbook?
I were deploying a new vm. As you mentioned i will try with the ip6
instead the ipv6
parameter.
Good evening @resmo
by changing the parameter to ip6
worked. By deploying a new instance. It will not work for existing instances.
Hello @resmo
is it possible to deploy a machine with
ipv6
enabled by default? I couldn't find an option to activate it within thengine_io.cloudstack.cs_instance
. Within the exoscale web ui there is a checkbox tick to enable it by default.