summaryrefslogtreecommitdiffstats
path: root/playbooks/common/private/control_plane.yml
diff options
context:
space:
mode:
authorClayton Coleman <ccoleman@redhat.com>2018-01-21 01:46:42 -0500
committerClayton Coleman <ccoleman@redhat.com>2018-01-23 13:01:12 -0500
commitf2b14d2e76d8a9b19d9515f00c0eac85876363f5 (patch)
tree63c538ab8e4a7cc6254a890bc80f3a4a263a08d6 /playbooks/common/private/control_plane.yml
parent38e19f8e479e116047905afdfb2beac8b9555f66 (diff)
downloadopenshift-f2b14d2e76d8a9b19d9515f00c0eac85876363f5.tar.gz
openshift-f2b14d2e76d8a9b19d9515f00c0eac85876363f5.tar.bz2
openshift-f2b14d2e76d8a9b19d9515f00c0eac85876363f5.tar.xz
openshift-f2b14d2e76d8a9b19d9515f00c0eac85876363f5.zip
Split control plane and component install in deploy_cluster
Diffstat (limited to 'playbooks/common/private/control_plane.yml')
-rw-r--r--playbooks/common/private/control_plane.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/playbooks/common/private/control_plane.yml b/playbooks/common/private/control_plane.yml
new file mode 100644
index 000000000..0a5f1142b
--- /dev/null
+++ b/playbooks/common/private/control_plane.yml
@@ -0,0 +1,34 @@
+---
+# These are the control plane plays that configure a control plane on top of hosts
+# identified as masters. Over time, some of the pieces of the current control plane
+# may be moved to the components list.
+#
+# It is not required for any nodes to be configured, or passed to be configured,
+# when this playbook is invoked.
+#
+# Preconditions:
+#
+# 1. A set of machines have been identified to act as masters
+# 2. On cloud providers, a load balancer has been configured to point to the masters
+# and that load balancer has a DNS name
+# 3. The init/main.yml playbook has been invoked
+#
+# Postconditions:
+#
+# 1. The control plane is reachable from the outside of the cluster
+# 2. The master has an /etc/origin/master/admin.kubeconfig file that gives cluster-admin
+# access.
+
+- import_playbook: ../../openshift-checks/private/install.yml
+
+- import_playbook: ../../openshift-etcd/private/config.yml
+
+- import_playbook: ../../openshift-nfs/private/config.yml
+ when: groups.oo_nfs_to_config | default([]) | count > 0
+
+- import_playbook: ../../openshift-loadbalancer/private/config.yml
+ when: groups.oo_lb_to_config | default([]) | count > 0
+
+- import_playbook: ../../openshift-master/private/config.yml
+
+- import_playbook: ../../openshift-master/private/additional_config.yml