summaryrefslogtreecommitdiffstats
path: root/playbooks/common
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 /playbooks/common
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 'playbooks/common')
-rw-r--r--playbooks/common/openshift-master/config.yml9
1 files changed, 0 insertions, 9 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index 0334a002e..a41f489ea 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -238,15 +238,6 @@
- name: Check for cached session secrets
hosts: oo_first_master
- pre_tasks:
- - 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)
roles:
- role: openshift_facts
post_tasks: