summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorClayton Coleman <ccoleman@redhat.com>2017-07-22 14:07:06 -0400
committerClayton Coleman <ccoleman@redhat.com>2017-08-08 12:50:18 -0400
commit84317d02049020fc4921634eed000f281cdc0e21 (patch)
treec2d5e66d3411670a2adb51e362b75d43bb8fb0e3 /playbooks/common
parent0569c5069dabeea9e2fe94cd097cb6f2b1540867 (diff)
downloadopenshift-84317d02049020fc4921634eed000f281cdc0e21.tar.gz
openshift-84317d02049020fc4921634eed000f281cdc0e21.tar.bz2
openshift-84317d02049020fc4921634eed000f281cdc0e21.tar.xz
openshift-84317d02049020fc4921634eed000f281cdc0e21.zip
Warn when user has no etcd group member nodes
This will be removed from support in a future release
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/config.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/config.yml b/playbooks/common/openshift-cluster/config.yml
index 7136f1c1f..14d7d9822 100644
--- a/playbooks/common/openshift-cluster/config.yml
+++ b/playbooks/common/openshift-cluster/config.yml
@@ -22,6 +22,12 @@
- docker_image_availability
- docker_storage
+- hosts: localhost
+ tasks:
+ - fail:
+ msg: No etcd hosts defined. Running an all-in-one master is deprecated and will no longer be supported in a future upgrade.
+ when: groups.oo_etcd_to_config | default([]) | length == 0 and not openshift_master_unsupported_all_in_one | default(False)
+
- include: initialize_oo_option_facts.yml
tags:
- always