additional_config.yml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ---
  2. - name: Master Additional Install Checkpoint Start
  3. hosts: all
  4. gather_facts: false
  5. tasks:
  6. - name: Set Master Additional install 'In Progress'
  7. run_once: true
  8. set_stats:
  9. data:
  10. installer_phase_master_additional:
  11. status: "In Progress"
  12. start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
  13. - name: Additional master configuration
  14. hosts: oo_first_master
  15. vars:
  16. cockpit_plugins: "{{ osm_cockpit_plugins | default(['cockpit-kubernetes']) }}"
  17. etcd_urls: "{{ openshift_master_etcd_urls }}"
  18. omc_cluster_hosts: "{{ groups.oo_masters | join(' ')}}"
  19. roles:
  20. # TODO: this is currently required in order to schedule pods onto the masters, but
  21. # should be moved into components once nodes are using dynamic config
  22. - role: openshift_sdn
  23. when: openshift_use_openshift_sdn | default(True) | bool
  24. - role: openshift_project_request_template
  25. when: openshift_project_request_template_manage
  26. - role: openshift_examples
  27. when: openshift_install_examples | default(true) | bool
  28. - role: openshift_hosted_templates
  29. - role: openshift_manageiq
  30. when: openshift_use_manageiq | default(true) | bool
  31. - role: cockpit
  32. when:
  33. - not openshift_is_atomic | bool
  34. - openshift_deployment_type == 'openshift-enterprise'
  35. - osm_use_cockpit is undefined or osm_use_cockpit | bool
  36. - (openshift_deployment_subtype | default('')) != 'registry'
  37. - role: flannel_register
  38. when: openshift_use_flannel | default(false) | bool
  39. - name: Master Additional Install Checkpoint End
  40. hosts: all
  41. gather_facts: false
  42. tasks:
  43. - name: Set Master Additional install 'Complete'
  44. run_once: true
  45. set_stats:
  46. data:
  47. installer_phase_master_additional:
  48. status: "Complete"
  49. end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"