summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/vars
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivano@gnu.org>2017-02-15 10:06:41 +0100
committerGitHub <noreply@github.com>2017-02-15 10:06:41 +0100
commitec7340eb707ca25716b02d06bfb3fc16796aeaca (patch)
tree58689436888a99fec83310d0debee56bdb261ea2 /roles/openshift_master/vars
parent9ab5683896630267fa26f94c2859727227f49a73 (diff)
parente63ff886e7d52470bfc7d8baab2b24766759c166 (diff)
downloadopenshift-ec7340eb707ca25716b02d06bfb3fc16796aeaca.tar.gz
openshift-ec7340eb707ca25716b02d06bfb3fc16796aeaca.tar.bz2
openshift-ec7340eb707ca25716b02d06bfb3fc16796aeaca.tar.xz
openshift-ec7340eb707ca25716b02d06bfb3fc16796aeaca.zip
Merge pull request #3332 from giuseppe/system-containers-ha
system containers: add support for HA deployments
Diffstat (limited to 'roles/openshift_master/vars')
-rw-r--r--roles/openshift_master/vars/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_master/vars/main.yml b/roles/openshift_master/vars/main.yml
index 01cd28c66..1e157097d 100644
--- a/roles/openshift_master/vars/main.yml
+++ b/roles/openshift_master/vars/main.yml
@@ -18,3 +18,6 @@ openshift_master_valid_grant_methods:
- auto
- prompt
- deny
+
+l_is_ha: "{{ openshift.master.ha is defined and openshift.master.ha | bool }}"
+l_is_same_version: "{{ (openshift.common.version is defined) and (openshift.common.version == openshift_version) | bool }}"