|
@@ -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
|