Explorar o código

Don't run node config upgrade hook if host is not a node.

Devan Goodwin %!s(int64=8) %!d(string=hai) anos
pai
achega
8681ae6983
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      playbooks/common/openshift-cluster/upgrades/upgrade.yml

+ 1 - 1
playbooks/common/openshift-cluster/upgrades/upgrade.yml

@@ -188,7 +188,7 @@
   - include: docker/upgrade.yml
     when: l_docker_upgrade is defined and l_docker_upgrade | bool and not openshift.common.is_atomic | bool
   - include: "{{ node_config_hook }}"
-    when: node_config_hook is defined
+    when: node_config_hook is defined and inventory_hostname in groups.oo_nodes_to_config
 
   - include: rpm_upgrade.yml
     vars: