summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-05-31 10:26:53 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-05-31 10:26:53 -0300
commitefb153693104976e86a91ebf6bf236448be5a84d (patch)
tree931258201dfc7c8de85a7b4053ecca4666ebe6db /playbooks
parenta7f71eab952e574db89ae9cac2e15922443db048 (diff)
downloadopenshift-efb153693104976e86a91ebf6bf236448be5a84d.tar.gz
openshift-efb153693104976e86a91ebf6bf236448be5a84d.tar.bz2
openshift-efb153693104976e86a91ebf6bf236448be5a84d.tar.xz
openshift-efb153693104976e86a91ebf6bf236448be5a84d.zip
Drop unnecessary node playbook version calculation.
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-node/config.yml16
1 files changed, 0 insertions, 16 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml
index 5e92b5cbd..bffac0e56 100644
--- a/playbooks/common/openshift-node/config.yml
+++ b/playbooks/common/openshift-node/config.yml
@@ -109,22 +109,6 @@
with_items: "{{ groups.oo_nodes_to_config | default([]) }}"
when: hostvars[item].openshift.common.is_containerized | bool and (item in groups.oo_nodes_to_config and item in groups.oo_masters_to_config)
-- name: Determine openshift_version to install on nodes
- hosts: oo_nodes_to_config
- any_errors_fatal: true
- tasks:
- - debug: var=hostvars[groups.oo_first_master.0].openshift.common.version
- - debug: var=openshift.common.version
- - name: Set openshift_version to match first master for new node
- set_fact:
- openshift_version: "{{ hostvars[groups.oo_first_master.0].openshift.common.version }}"
- when: openshift.common.version is not defined
- - name: Set openshift_version to currently installed version
- set_fact:
- openshift_version: "{{ openshift.common.version }}"
- when: openshift.common.version is defined
- - debug: var=openshift_version
-
- name: Configure node instances
hosts: oo_containerized_master_nodes
serial: 1