summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-08-29 10:08:46 -0400
committerRussell Teague <rteague@redhat.com>2017-08-29 10:08:46 -0400
commit68c52443ef4b280a902db1c3ce4c7350daa6733a (patch)
treeba16d8f027e71a31ba45f3600d33c713d5d3bc31 /playbooks
parentab7b515d8ed8576b23147e64e4da73e6dea41df7 (diff)
downloadopenshift-68c52443ef4b280a902db1c3ce4c7350daa6733a.tar.gz
openshift-68c52443ef4b280a902db1c3ce4c7350daa6733a.tar.bz2
openshift-68c52443ef4b280a902db1c3ce4c7350daa6733a.tar.xz
openshift-68c52443ef4b280a902db1c3ce4c7350daa6733a.zip
Fix group conditional requirements
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-cluster/evaluate_groups.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/common/openshift-cluster/evaluate_groups.yml b/playbooks/common/openshift-cluster/evaluate_groups.yml
index c56b07037..61636a880 100644
--- a/playbooks/common/openshift-cluster/evaluate_groups.yml
+++ b/playbooks/common/openshift-cluster/evaluate_groups.yml
@@ -13,12 +13,12 @@
- name: Evaluate groups - g_master_hosts or g_new_master_hosts required
fail:
msg: This playbook requires g_master_hosts or g_new_master_hosts to be set
- when: g_master_hosts is not defined or g_new_master_hosts is not defined
+ when: g_master_hosts is not defined and g_new_master_hosts is not defined
- name: Evaluate groups - g_node_hosts or g_new_node_hosts required
fail:
msg: This playbook requires g_node_hosts or g_new_node_hosts to be set
- when: g_node_hosts is not defined or g_new_node_hosts is not defined
+ when: g_node_hosts is not defined and g_new_node_hosts is not defined
- name: Evaluate groups - g_lb_hosts required
fail: