summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-09-08 14:46:27 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-09-08 14:49:29 -0400
commit70c62ffe21b7b90c23a8a35d4d52c4e23091e421 (patch)
tree005a95236286e0dd42cdef1a1f2e745fb61686ad /playbooks
parent52eeaed447a97a85d0266036136ac611be13bbae (diff)
downloadopenshift-70c62ffe21b7b90c23a8a35d4d52c4e23091e421.tar.gz
openshift-70c62ffe21b7b90c23a8a35d4d52c4e23091e421.tar.bz2
openshift-70c62ffe21b7b90c23a8a35d4d52c4e23091e421.tar.xz
openshift-70c62ffe21b7b90c23a8a35d4d52c4e23091e421.zip
Iterate over node inventory hostnames instead of openshift.common.hostname within openshift_manage_node role.
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-node/config.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml
index 94c30e268..66eb293e5 100644
--- a/playbooks/common/openshift-node/config.yml
+++ b/playbooks/common/openshift-node/config.yml
@@ -156,9 +156,7 @@
- name: Set schedulability
hosts: oo_first_master
vars:
- openshift_nodes: "{{ hostvars
- | oo_select_keys(groups['oo_nodes_to_config'])
- | oo_collect('openshift.common.hostname') }}"
+ openshift_nodes: "{{ groups.oo_nodes_to_config | default([]) }}"
pre_tasks:
# Necessary because when you're on a node that's also a master the master will be
# restarted after the node restarts docker and it will take up to 60 seconds for