additional_config.yml 1.1 KB

12345678910111213141516171819202122
  1. - name: Additional master configuration
  2. hosts: oo_first_master
  3. vars:
  4. cockpit_plugins: "{{ osm_cockpit_plugins | default(['cockpit-kubernetes']) }}"
  5. etcd_urls: "{{ openshift.master.etcd_urls }}"
  6. openshift_master_ha: "{{ groups.oo_masters | length > 1 }}"
  7. omc_cluster_hosts: "{{ groups.oo_masters | join(' ')}}"
  8. roles:
  9. - role: openshift_master_cluster
  10. when: openshift_master_ha | bool and openshift.master.cluster_method == "pacemaker"
  11. - role: openshift_examples
  12. registry_url: "{{ openshift.master.registry_url }}"
  13. when: openshift.common.install_examples | bool
  14. - role: openshift_manageiq
  15. when: openshift.common.use_manageiq | bool
  16. - role: cockpit
  17. when: not openshift.common.is_atomic and ( deployment_type in ['atomic-enterprise','openshift-enterprise'] ) and
  18. (osm_use_cockpit | bool or osm_use_cockpit is undefined ) and ( deployment_subtype != 'registry' )
  19. - role: cockpit-ui
  20. when: not openshift.common.is_atomic and ( deployment_subtype == 'registry' )
  21. - role: flannel_register
  22. when: openshift.common.use_flannel | bool