Преглед на файлове

Merge pull request #2329 from lhuard1A/fix_nodeonmaster

Fix the “node on master” feature
Jason DeTiberus преди 8 години
родител
ревизия
48e187e222
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      playbooks/common/openshift-cluster/evaluate_groups.yml

+ 1 - 1
playbooks/common/openshift-cluster/evaluate_groups.yml

@@ -77,7 +77,7 @@
       ansible_ssh_user: "{{ g_ssh_user | default(omit) }}"
       ansible_become: "{{ g_sudo | default(omit) }}"
     with_items: "{{ g_master_hosts | default([]) }}"
-    when: g_nodeonmaster | default(false) == true and g_new_node_hosts is not defined
+    when: g_nodeonmaster | default(false) | bool and not g_new_node_hosts | default(false) | bool
 
   - name: Evaluate oo_first_etcd
     add_host: