summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-node/config.yml
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-07-10 04:31:10 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2015-07-10 04:31:10 -0400
commit14bde2f7d99b2a0f01259834135bbdc324bcac70 (patch)
tree4fb0521c26e69ebf17428761ae29c3b6c44a9671 /playbooks/common/openshift-node/config.yml
parentb03b50a7a408470c28f2c8d1752cda541b75f8ee (diff)
parent025011c1e462d8419b81d8c5085cb92163ac4280 (diff)
downloadopenshift-14bde2f7d99b2a0f01259834135bbdc324bcac70.tar.gz
openshift-14bde2f7d99b2a0f01259834135bbdc324bcac70.tar.bz2
openshift-14bde2f7d99b2a0f01259834135bbdc324bcac70.tar.xz
openshift-14bde2f7d99b2a0f01259834135bbdc324bcac70.zip
Merge pull request #332 from brenton/master
Adding retry logic to handle node registration race conditions
Diffstat (limited to 'playbooks/common/openshift-node/config.yml')
-rw-r--r--playbooks/common/openshift-node/config.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml
index 2017a7156..1cf5616ce 100644
--- a/playbooks/common/openshift-node/config.yml
+++ b/playbooks/common/openshift-node/config.yml
@@ -139,6 +139,9 @@
- name: Set scheduleability
hosts: oo_first_master
vars:
+ openshift_nodes: "{{ hostvars
+ | oo_select_keys(groups['oo_nodes_to_config'])
+ | oo_collect('openshift.common.hostname') }}"
openshift_unscheduleable_nodes: "{{ hostvars
| oo_select_keys(groups['oo_nodes_to_config'])
| oo_collect('openshift.common.hostname', {'openshift_scheduleable': False}) }}"