additional_config.yml 1.6 KB

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