summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-01-06 13:01:25 -0500
committerAndrew Butcher <abutcher@redhat.com>2016-01-06 13:28:20 -0500
commit82db6897085a1278e6b982a403875ed8671190bb (patch)
tree52c112891b849ce5fdf7a4f3229d0f50d8622025 /roles/openshift_master
parent62fcc9436db024d189f3ff8107aeb7e2a1ae812f (diff)
downloadopenshift-82db6897085a1278e6b982a403875ed8671190bb.tar.gz
openshift-82db6897085a1278e6b982a403875ed8671190bb.tar.bz2
openshift-82db6897085a1278e6b982a403875ed8671190bb.tar.xz
openshift-82db6897085a1278e6b982a403875ed8671190bb.zip
Move extra secret validations into openshift_facts.
Diffstat (limited to 'roles/openshift_master')
-rw-r--r--roles/openshift_master/tasks/main.yml10
1 files changed, 0 insertions, 10 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index a3cddfd63..397122631 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -9,16 +9,6 @@
Invalid OAuth grant method: {{ openshift_master_oauth_grant_method }}
when: openshift_master_oauth_grant_method is defined and openshift_master_oauth_grant_method not in openshift_master_valid_grant_methods
-# Session Options Validation
-- fail:
- msg: >
- Both openshift_master_session_auth_secrets and openshift_master_session_encryption_secrets must be provided if either variable is set
- when: (openshift_master_session_auth_secrets is defined and openshift_master_session_encryption_secrets is not defined) or (openshift_master_session_encryption_secrets is defined and openshift_master_session_auth_secrets is not defined)
-- fail:
- msg: >
- openshift_master_session_auth_secrets and openshift_master_encryption_secrets must be equal length
- when: (openshift_master_session_auth_secrets is defined and openshift_master_session_encryption_secrets is defined) and (openshift_master_session_auth_secrets | length != openshift_master_session_encryption_secrets | length)
-
# HA Variable Validation
- fail:
msg: "openshift_master_cluster_method must be set to either 'native' or 'pacemaker' for multi-master installations"