additional_config.yml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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_examples
  22. when: openshift_install_examples | default(true, true) | bool
  23. registry_url: "{{ openshift.master.registry_url }}"
  24. - role: openshift_hosted_templates
  25. registry_url: "{{ openshift.master.registry_url }}"
  26. - role: openshift_manageiq
  27. when: openshift_use_manageiq | default(true) | bool
  28. - role: cockpit
  29. when:
  30. - not openshift.common.is_atomic | bool
  31. - deployment_type == 'openshift-enterprise'
  32. - osm_use_cockpit is undefined or osm_use_cockpit | bool
  33. - openshift.common.deployment_subtype != 'registry'
  34. - role: flannel_register
  35. when: openshift_use_flannel | default(false) | bool
  36. - name: Master Additional Install Checkpoint End
  37. hosts: oo_all_hosts
  38. gather_facts: false
  39. tasks:
  40. - name: Set Master Additional install 'Complete'
  41. set_stats:
  42. data:
  43. installer_phase_master_additional: "Complete"
  44. aggregate: false