summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-11-30 08:19:33 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-11-30 08:19:33 -0500
commit707c195d540a422f11963fcd9ab0b66a2d3cf445 (patch)
tree01e09e44652ad96ad13b5bd7ad8ed7a1c362d1cd /playbooks/common/openshift-master
parent50ba48498269d5d1e063684d3d5c968f7a173fd9 (diff)
parent4013fd47fed61ceb0b92cfa4c271b420b4ced66b (diff)
downloadopenshift-707c195d540a422f11963fcd9ab0b66a2d3cf445.tar.gz
openshift-707c195d540a422f11963fcd9ab0b66a2d3cf445.tar.bz2
openshift-707c195d540a422f11963fcd9ab0b66a2d3cf445.tar.xz
openshift-707c195d540a422f11963fcd9ab0b66a2d3cf445.zip
Merge pull request #982 from simon3z/install-openssl
Make sure that OpenSSL is installed before use
Diffstat (limited to 'playbooks/common/openshift-master')
-rw-r--r--playbooks/common/openshift-master/config.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index 902fde956..2be25b1e3 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -244,6 +244,8 @@
- 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)
+ - name: Install OpenSSL package
+ action: "{{ansible_pkg_mgr}} pkg=openssl state=present"
- name: Generate session authentication key
command: /usr/bin/openssl rand -base64 24
register: session_auth_output