config.yml 1.2 KB

12345678910111213141516
  1. ---
  2. - name: Configure load balancers
  3. hosts: oo_lb_to_config
  4. vars:
  5. openshift_loadbalancer_frontends: "{{ (openshift_master_api_port | default(8843)
  6. | oo_openshift_loadbalancer_frontends(hostvars | oo_select_keys(groups['oo_masters']),
  7. openshift_use_nuage | default(false),
  8. nuage_mon_rest_server_port | default(none)))
  9. + openshift_loadbalancer_additional_frontends | default([]) }}"
  10. openshift_loadbalancer_backends: "{{ (openshift_master_api_port | default(8843)
  11. | oo_openshift_loadbalancer_backends(hostvars | oo_select_keys(groups['oo_masters']),
  12. openshift_use_nuage | default(false),
  13. nuage_mon_rest_server_port | default(none)))
  14. + openshift_loadbalancer_additional_backends | default([]) }}"
  15. roles:
  16. - role: openshift_loadbalancer