summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-09-18 11:11:31 -0700
committerGitHub <noreply@github.com>2017-09-18 11:11:31 -0700
commit67191c2b9dea3ef7399773b96c7fc1d827498eac (patch)
tree8ca9bbf02e80fb12b203352b0cd5d8d0d85e9a1b /playbooks
parent74d245fbab25d91a989fc7263ae3e8827267510c (diff)
parent2c69867f9678591d9cf4aa762967afb2cf8d631c (diff)
downloadopenshift-67191c2b9dea3ef7399773b96c7fc1d827498eac.tar.gz
openshift-67191c2b9dea3ef7399773b96c7fc1d827498eac.tar.bz2
openshift-67191c2b9dea3ef7399773b96c7fc1d827498eac.tar.xz
openshift-67191c2b9dea3ef7399773b96c7fc1d827498eac.zip
Merge pull request #5237 from smarterclayton/gce
Automatic merge from submit-queue Port origin-gce roles for cluster setup to copy AWS provisioning This is a rough cut of the existing origin-gce structure (itself a refined version of the ref arch). I've removed everything except core cluster provisioning, image building, and inventory setup. Node groups are part of the "all at once" provisioning but can be changed. @kwoodson we should talk on monday, this is me adapting the origin-gce dynamic provisioning to be roughly parallel to openshift_aws. Still some topics we should discuss.
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/gcp/openshift-cluster/provision.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/playbooks/gcp/openshift-cluster/provision.yml b/playbooks/gcp/openshift-cluster/provision.yml
new file mode 100644
index 000000000..a3d1d46a6
--- /dev/null
+++ b/playbooks/gcp/openshift-cluster/provision.yml
@@ -0,0 +1,19 @@
+---
+- name: Ensure all cloud resources necessary for the cluster, including instances, have been started
+ hosts: localhost
+ connection: local
+ gather_facts: no
+ tasks:
+
+ - name: provision a GCP cluster in the specified project
+ include_role:
+ name: openshift_gcp
+
+- name: normalize groups
+ include: ../../byo/openshift-cluster/initialize_groups.yml
+
+- name: run the std_include
+ include: ../../common/openshift-cluster/std_include.yml
+
+- name: run the config
+ include: ../../common/openshift-cluster/config.yml