Browse Source

Fix group conditional requirements

Russell Teague 7 years ago
parent
commit
68c52443ef
1 changed files with 2 additions and 2 deletions
  1. 2 2
      playbooks/common/openshift-cluster/evaluate_groups.yml

+ 2 - 2
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: