Przeglądaj źródła

Using openshift.common.hostname instead of openshift_hostname for determining node scheduleability

Brenton Leanhardt 9 lat temu
rodzic
commit
93c2bf00cd
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      playbooks/common/openshift-node/config.yml

+ 2 - 2
playbooks/common/openshift-node/config.yml

@@ -141,12 +141,12 @@
   vars:
     openshift_unscheduleable_nodes: "{{ hostvars
                                         | oo_select_keys(groups['oo_nodes_to_config']) 
-                                        | oo_collect('openshift_hostname', {'openshift_scheduleable': False}) }}"
+                                        | oo_collect('openshift.common.hostname', {'openshift_scheduleable': False}) }}"
   pre_tasks:
   - set_fact:
       openshift_scheduleable_nodes: "{{ hostvars
                                       | oo_select_keys(groups['oo_nodes_to_config'])
-                                      | oo_collect('openshift_hostname') 
+                                      | oo_collect('openshift.common.hostname')
                                       | difference(openshift_unscheduleable_nodes) }}"
   roles:
   - openshift_manage_node