diff options
author | Dan Yocum <dyocum@redhat.com> | 2018-01-24 17:15:26 -0500 |
---|---|---|
committer | Dan Yocum <dyocum@redhat.com> | 2018-01-24 17:15:26 -0500 |
commit | 8cbd53ed64f1819b8f4defbf196140a1692c5a42 (patch) | |
tree | 7dd61610e8ea6ae373e12dbb1c894047b8feac0f /playbooks/gcp/openshift-cluster/install.yml | |
parent | c2de775c80b8daa629af514f24118f704c521c18 (diff) | |
parent | 0b57e113dbf16b5ac6f01859c9c4ab2aee594f87 (diff) | |
download | openshift-8cbd53ed64f1819b8f4defbf196140a1692c5a42.tar.gz openshift-8cbd53ed64f1819b8f4defbf196140a1692c5a42.tar.bz2 openshift-8cbd53ed64f1819b8f4defbf196140a1692c5a42.tar.xz openshift-8cbd53ed64f1819b8f4defbf196140a1692c5a42.zip |
Merge branch 'master' into rm_origin-components
Diffstat (limited to 'playbooks/gcp/openshift-cluster/install.yml')
-rw-r--r-- | playbooks/gcp/openshift-cluster/install.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/playbooks/gcp/openshift-cluster/install.yml b/playbooks/gcp/openshift-cluster/install.yml new file mode 100644 index 000000000..fb35b4348 --- /dev/null +++ b/playbooks/gcp/openshift-cluster/install.yml @@ -0,0 +1,33 @@ +# This playbook installs onto a provisioned cluster +--- +- hosts: localhost + connection: local + tasks: + - name: place all scale groups into Ansible groups + include_role: + name: openshift_gcp + tasks_from: setup_scale_group_facts.yml + +- name: run the init + import_playbook: ../../init/main.yml + +- name: configure the control plane + import_playbook: ../../common/private/control_plane.yml + +- name: ensure the masters are configured as nodes + import_playbook: ../../openshift-node/private/config.yml + +- name: run the GCP specific post steps + import_playbook: install_gcp.yml + +- name: install components + import_playbook: ../../common/private/components.yml + +- hosts: primary_master + gather_facts: no + tasks: + - name: Retrieve cluster configuration + fetch: + src: "{{ openshift.common.config_base }}/master/admin.kubeconfig" + dest: "/tmp/" + flat: yes |