ansible-community / molecule-plugins

Collection on molecule plugins
MIT License
101 stars 67 forks source link

Add an option to disable/enable floating IPs #229

Open mathias-ioki opened 5 months ago

mathias-ioki commented 5 months ago

When the OpenStack driver is used, instances get always a public floating IP address. This floating IP is most of the time a public IPv4 address. Public IPv4 addresses are rare and can be very expensive - depending on the OpenStack provider.

This PR allows to disable floating IPs. The default is not changed, so existing deployments don't need an update.

These floating IPs are not required, if IPv6 is available or if a jumphost is already in place, which can be used for the connection to the internal IPs of a VM.

If the option auto_floating_ip is not explicit added, it's implicit added with true as default value: https://docs.ansible.com/ansible/latest/collections/openstack/cloud/server_module.html#parameter-auto_ip

github-actions[bot] commented 5 months ago

Label error. Requires exactly 1 of: bug, enhancement, major, minor, patch, skip-changelog. Found:

KevinHonka commented 1 month ago

could we get this merged? I just stumbled over this problem and this would be the solution