Skip to content

Commit

Permalink
Openstack: add management of multi public network
Browse files Browse the repository at this point in the history
In the openstack plugins, it is not possible to
choose your public network, which is a problem when
 you are on a private cloud, you end up with the first
 public network on the list.

I encountered this error:
Timeout waiting for the floating IP to be attached.
  • Loading branch information
RedounB committed Feb 22, 2024
1 parent b48ead5 commit 630e914
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/molecule_plugins/openstack/playbooks/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
image: "{{ item.image }}"
key_name: "{{ key_name }}"
flavor: "{{ item.flavor }}"
floating_ip_pools: "{{ item.floating_ip_pools | default(omit) }}"
boot_from_volume: "{{ true if item.volume is defined and item.volume.size else false }}"
terminate_volume: "{{ true if item.volume is defined and item.volume.size else false }}"
volume_size: "{{ item.volume.size if item.volume is defined and item.volume.size else omit }}"
Expand Down

0 comments on commit 630e914

Please sign in to comment.