net_vars_check.yaml 542 B

1234567891011121314
  1. ---
  2. - name: Check the provider network configuration
  3. fail:
  4. msg: "Flannel SDN requires a dedicated containers data network and can not work over a provider network"
  5. when:
  6. - openshift_openstack_provider_network_name is defined
  7. - openstack_private_data_network_name is defined
  8. - name: Check the flannel network configuration
  9. fail:
  10. msg: "A dedicated containers data network is only supported with Flannel SDN"
  11. when:
  12. - openstack_private_data_network_name is defined
  13. - not openshift_use_flannel|default(False)|bool