summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorFederico Simoncelli <fsimonce@redhat.com>2015-11-25 14:08:49 +0100
committerFederico Simoncelli <fsimonce@redhat.com>2015-11-25 14:11:17 +0100
commit4013fd47fed61ceb0b92cfa4c271b420b4ced66b (patch)
tree63858143cd12e2d1a7bace2727b6aed9adb97c66 /playbooks
parente3071fd15f70214fe9f13b847f2cc5443716d955 (diff)
downloadopenshift-4013fd47fed61ceb0b92cfa4c271b420b4ced66b.tar.gz
openshift-4013fd47fed61ceb0b92cfa4c271b420b4ced66b.tar.bz2
openshift-4013fd47fed61ceb0b92cfa4c271b420b4ced66b.tar.xz
openshift-4013fd47fed61ceb0b92cfa4c271b420b4ced66b.zip
Make sure that OpenSSL is installed before use
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
Diffstat (limited to 'playbooks')
-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