additional_config.yml 1.1 KB

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