additional_config.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ---
  2. - name: Master Additional Install Checkpoint Start
  3. hosts: oo_all_hosts
  4. gather_facts: false
  5. tasks:
  6. - name: Set Master Additional install 'In Progress'
  7. set_stats:
  8. data:
  9. installer_phase_master_additional: "In Progress"
  10. aggregate: false
  11. - name: Additional master configuration
  12. hosts: oo_first_master
  13. vars:
  14. cockpit_plugins: "{{ osm_cockpit_plugins | default(['cockpit-kubernetes']) }}"
  15. etcd_urls: "{{ openshift.master.etcd_urls }}"
  16. openshift_master_ha: "{{ groups.oo_masters | length > 1 }}"
  17. omc_cluster_hosts: "{{ groups.oo_masters | join(' ')}}"
  18. roles:
  19. - role: openshift_master_cluster
  20. when: openshift_master_ha | bool and openshift.master.cluster_method == "pacemaker"
  21. - role: openshift_project_request_template
  22. when: openshift_project_request_template_manage
  23. - role: openshift_examples
  24. when: openshift_install_examples | default(true, true) | bool
  25. registry_url: "{{ openshift.master.registry_url }}"
  26. - role: openshift_hosted_templates
  27. registry_url: "{{ openshift.master.registry_url }}"
  28. - role: openshift_manageiq
  29. when: openshift_use_manageiq | default(true) | bool
  30. - role: cockpit
  31. when:
  32. - openshift.common.is_atomic
  33. - deployment_type == 'openshift-enterprise'
  34. - osm_use_cockpit is undefined or osm_use_cockpit | bool
  35. - openshift.common.deployment_subtype != 'registry'
  36. - role: flannel_register
  37. when: openshift_use_flannel | default(false) | bool
  38. - name: Master Additional Install Checkpoint End
  39. hosts: oo_all_hosts
  40. gather_facts: false
  41. tasks:
  42. - name: Set Master Additional install 'Complete'
  43. set_stats:
  44. data:
  45. installer_phase_master_additional: "Complete"
  46. aggregate: false