From 2c69867f9678591d9cf4aa762967afb2cf8d631c Mon Sep 17 00:00:00 2001 From: Clayton Coleman Date: Sun, 27 Aug 2017 20:35:31 -0400 Subject: 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. --- playbooks/gcp/openshift-cluster/provision.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 playbooks/gcp/openshift-cluster/provision.yml (limited to 'playbooks/gcp') 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 -- cgit v1.2.1