mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-03-27 05:53:02 +00:00
Current logic assumes that external_fixed_ips should be always defined, otherwise `req_fip_map` is an empty sequence, which makes _needs_update to return True. With that not having external_fixed_ips is a vaild case whenever deployment does not have shared public network. This usually the case when public network is not passed to computes and public network is used only for routers and floating IPs. Patch changes logic by addind a `is not None` support to only compare external_fip configration when user explicitly passed something (passing an empty dict is equal to requesting "empty" configuration). Co-Authored-by: Artem Goncharov Change-Id: Id0f69fe4c985c4c38b493577250cad4e589b9d24