summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorClayton Coleman <ccoleman@redhat.com>2017-08-27 20:35:31 -0400
committerClayton Coleman <ccoleman@redhat.com>2017-09-14 13:49:55 -0400
commit2c69867f9678591d9cf4aa762967afb2cf8d631c (patch)
tree273571ff15354977959ae033a7db6241366558e0 /playbooks
parentf8393b7aef78c92437fe78092821a8d0a11c22cc (diff)
downloadopenshift-2c69867f9678591d9cf4aa762967afb2cf8d631c.tar.gz
openshift-2c69867f9678591d9cf4aa762967afb2cf8d631c.tar.bz2
openshift-2c69867f9678591d9cf4aa762967afb2cf8d631c.tar.xz
openshift-2c69867f9678591d9cf4aa762967afb2cf8d631c.zip
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.
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