diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2017-02-12 19:25:15 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2017-02-14 15:54:13 +0100 |
commit | 95cf33d8b8e9bfeffbf1cc80bf55fc3c603be190 (patch) | |
tree | 75903ad167b0b9a855ed2b655f888229d282b19d /roles/openshift_master/vars | |
parent | 9347f8d1f7b34b9362d2807878c963e6baea4896 (diff) | |
download | openshift-95cf33d8b8e9bfeffbf1cc80bf55fc3c603be190.tar.gz openshift-95cf33d8b8e9bfeffbf1cc80bf55fc3c603be190.tar.bz2 openshift-95cf33d8b8e9bfeffbf1cc80bf55fc3c603be190.tar.xz openshift-95cf33d8b8e9bfeffbf1cc80bf55fc3c603be190.zip |
master, 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_master/vars')
-rw-r--r-- | roles/openshift_master/vars/main.yml | 3 |
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 }}" |