install.yml 957 B

1234567891011121314151617181920212223242526272829303132333435
  1. # This playbook installs onto a provisioned cluster
  2. ---
  3. - hosts: localhost
  4. connection: local
  5. tasks:
  6. - name: place all scale groups into Ansible groups
  7. include_role:
  8. name: openshift_gcp
  9. tasks_from: setup_scale_group_facts.yml
  10. - name: run the init
  11. import_playbook: ../../init/main.yml
  12. - import_playbook: ../../openshift-checks/private/install.yml
  13. - name: ensure master nodes are ready for bootstrapping
  14. import_playbook: ../../openshift-node/private/bootstrap.yml
  15. - name: configure the control plane
  16. import_playbook: ../../common/private/control_plane.yml
  17. - name: run the GCP specific post steps
  18. import_playbook: install_gcp.yml
  19. - name: install components
  20. import_playbook: ../../common/private/components.yml
  21. - hosts: primary_master
  22. gather_facts: no
  23. tasks:
  24. - name: Retrieve cluster configuration
  25. fetch:
  26. src: "{{ openshift.common.config_base }}/master/admin.kubeconfig"
  27. dest: "/tmp/"
  28. flat: yes