summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/vars
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2017-02-12 19:34:45 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2017-02-14 15:57:58 +0100
commite63ff886e7d52470bfc7d8baab2b24766759c166 (patch)
treefdd63df300fc3bf63cc732f1df4f25045de8919f /roles/openshift_node/vars
parent95cf33d8b8e9bfeffbf1cc80bf55fc3c603be190 (diff)
downloadopenshift-e63ff886e7d52470bfc7d8baab2b24766759c166.tar.gz
openshift-e63ff886e7d52470bfc7d8baab2b24766759c166.tar.bz2
openshift-e63ff886e7d52470bfc7d8baab2b24766759c166.tar.xz
openshift-e63ff886e7d52470bfc7d8baab2b24766759c166.zip
node, vars/main.yml: define l_is_ha and l_is_same_version
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'roles/openshift_node/vars')
-rw-r--r--roles/openshift_node/vars/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_node/vars/main.yml b/roles/openshift_node/vars/main.yml
new file mode 100644
index 000000000..0c2abf3b9
--- /dev/null
+++ b/roles/openshift_node/vars/main.yml
@@ -0,0 +1,2 @@
+---
+l_is_same_version: "{{ (openshift.common.version is defined) and (openshift.common.version == openshift_version) | bool }}"