summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-08-23 12:31:15 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-08-23 12:31:15 -0300
commit8681ae6983aa20d66ea8741a2ea7d86a4906bcf3 (patch)
tree1e858bbe402e969dfbbb5ef0b08e08bcf50aac2d
parentc908f5aac957b4798681107b30f549ca536c3bbd (diff)
downloadopenshift-8681ae6983aa20d66ea8741a2ea7d86a4906bcf3.tar.gz
openshift-8681ae6983aa20d66ea8741a2ea7d86a4906bcf3.tar.bz2
openshift-8681ae6983aa20d66ea8741a2ea7d86a4906bcf3.tar.xz
openshift-8681ae6983aa20d66ea8741a2ea7d86a4906bcf3.zip
Don't run node config upgrade hook if host is not a node.
-rw-r--r--playbooks/common/openshift-cluster/upgrades/upgrade.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/upgrade.yml b/playbooks/common/openshift-cluster/upgrades/upgrade.yml
index f7ff16fb8..be4e02c4a 100644
--- a/playbooks/common/openshift-cluster/upgrades/upgrade.yml
+++ b/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: