diff options
author | Clayton Coleman <ccoleman@redhat.com> | 2017-07-22 14:07:06 -0400 |
---|---|---|
committer | Clayton Coleman <ccoleman@redhat.com> | 2017-08-08 12:50:18 -0400 |
commit | 84317d02049020fc4921634eed000f281cdc0e21 (patch) | |
tree | c2d5e66d3411670a2adb51e362b75d43bb8fb0e3 | |
parent | 0569c5069dabeea9e2fe94cd097cb6f2b1540867 (diff) | |
download | openshift-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
-rw-r--r-- | playbooks/common/openshift-cluster/config.yml | 6 |
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 |