summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_kibana
diff options
context:
space:
mode:
authorewolinetz <ewolinet@redhat.com>2017-06-08 14:16:44 -0500
committerewolinetz <ewolinet@redhat.com>2017-06-08 14:16:44 -0500
commitd301171b2f6f8c3d9a6ef9a6818d9b73ee61ce55 (patch)
treed6b63dd28aa43d940d164b5328e91d5604c27f62 /roles/openshift_logging_kibana
parent4d33b0299ce34e2faf340612f0b872dbff8f3d46 (diff)
downloadopenshift-d301171b2f6f8c3d9a6ef9a6818d9b73ee61ce55.tar.gz
openshift-d301171b2f6f8c3d9a6ef9a6818d9b73ee61ce55.tar.bz2
openshift-d301171b2f6f8c3d9a6ef9a6818d9b73ee61ce55.tar.xz
openshift-d301171b2f6f8c3d9a6ef9a6818d9b73ee61ce55.zip
Updated to using oo_random_word for secret gen
Diffstat (limited to 'roles/openshift_logging_kibana')
-rw-r--r--roles/openshift_logging_kibana/tasks/main.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_logging_kibana/tasks/main.yaml b/roles/openshift_logging_kibana/tasks/main.yaml
index 73921ff9f..bae55ffaa 100644
--- a/roles/openshift_logging_kibana/tasks/main.yaml
+++ b/roles/openshift_logging_kibana/tasks/main.yaml
@@ -55,7 +55,7 @@
# gen session_secret if necessary
- name: Generate session secret
copy:
- content: "{{ 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789' | random_word(200) }}"
+ content: "{{ 200 | oo_random_word }}"
dest: "{{ generated_certs_dir }}/session_secret"
when:
- not session_secret_file.stat.exists
@@ -63,7 +63,7 @@
# gen oauth_secret if necessary
- name: Generate oauth secret
copy:
- content: "{{ 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789' | random_word(64) }}"
+ content: "{{ 64 | oo_random_word }}"
dest: "{{ generated_certs_dir }}/oauth_secret"
when:
- not oauth_secret_file.stat.exists