summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging/tasks
diff options
context:
space:
mode:
authorJeff Cantrill <jcantril@redhat.com>2017-09-26 09:39:37 -0400
committerJeff Cantrill <jcantril@redhat.com>2017-10-03 16:03:30 -0400
commit76e00ca0b6900c6c405f0fd9ca3e12b032498e22 (patch)
treebf1ab0512271351e9189659f1c51375aa06c2e91 /roles/openshift_logging/tasks
parent49b352634febe78a3cf15e4d4971b69032dd0d4c (diff)
downloadopenshift-76e00ca0b6900c6c405f0fd9ca3e12b032498e22.tar.gz
openshift-76e00ca0b6900c6c405f0fd9ca3e12b032498e22.tar.bz2
openshift-76e00ca0b6900c6c405f0fd9ca3e12b032498e22.tar.xz
openshift-76e00ca0b6900c6c405f0fd9ca3e12b032498e22.zip
Add logging es prometheus endpoint
Diffstat (limited to 'roles/openshift_logging/tasks')
-rw-r--r--roles/openshift_logging/tasks/delete_logging.yaml1
-rw-r--r--roles/openshift_logging/tasks/generate_certs.yaml4
2 files changed, 3 insertions, 2 deletions
diff --git a/roles/openshift_logging/tasks/delete_logging.yaml b/roles/openshift_logging/tasks/delete_logging.yaml
index 3040d15ca..ffed956a4 100644
--- a/roles/openshift_logging/tasks/delete_logging.yaml
+++ b/roles/openshift_logging/tasks/delete_logging.yaml
@@ -92,6 +92,7 @@
with_items:
- rolebinding-reader
- daemonset-admin
+ - prometheus-metrics-viewer
# delete our configmaps
- name: delete configmaps
diff --git a/roles/openshift_logging/tasks/generate_certs.yaml b/roles/openshift_logging/tasks/generate_certs.yaml
index 9c8f0986a..f526fd734 100644
--- a/roles/openshift_logging/tasks/generate_certs.yaml
+++ b/roles/openshift_logging/tasks/generate_certs.yaml
@@ -139,10 +139,10 @@
# TODO: make idempotent
- name: Generate proxy session
- set_fact: session_secret={{'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'|random_word(200)}}
+ set_fact: session_secret={{ 200 | oo_random_word}}
check_mode: no
# TODO: make idempotent
- name: Generate oauth client secret
- set_fact: oauth_secret={{'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'|random_word(64)}}
+ set_fact: oauth_secret={{ 64 | oo_random_word}}
check_mode: no