summaryrefslogtreecommitdiffstats
path: root/playbooks/gcp/openshift-cluster/install.yml
blob: 01eefb023c260af06b81b6ec43399a552b6b904e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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 cluster deploy
  import_playbook: ../../deploy_cluster.yml

- name: run the GCP specific post steps
  import_playbook: install_gcp.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