summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorErez Freiberger <efreiber@redhat.com>2016-04-21 13:49:11 +0300
committerErez Freiberger <efreiber@redhat.com>2016-04-24 18:56:34 +0300
commit4ab567373c88bfed96f64eab6b721accc1ac9752 (patch)
tree26b7362c865fabc763c297f1a479b8d245bc0c5d /playbooks
parent04b52454275572f9d09e76c6ce46bdd60aa46c72 (diff)
downloadopenshift-4ab567373c88bfed96f64eab6b721accc1ac9752.tar.gz
openshift-4ab567373c88bfed96f64eab6b721accc1ac9752.tar.bz2
openshift-4ab567373c88bfed96f64eab6b721accc1ac9752.tar.xz
openshift-4ab567373c88bfed96f64eab6b721accc1ac9752.zip
openshift-metrics: adding duration and resolution options
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-master/config.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index c9d94bec5..0b0faaa22 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -42,6 +42,12 @@
- set_fact:
openshift_hosted_metrics_deploy: "{{ lookup('oo_option', 'openshift_hosted_metrics_deploy') | default(false, true) }}"
when: openshift_hosted_metrics_deploy is not defined
+ - set_fact:
+ openshift_hosted_metrics_duration: "{{ lookup('oo_option', 'openshift_hosted_metrics_duration') | default(7) }}"
+ when: openshift_hosted_metrics_duration is not defined
+ - set_fact:
+ openshift_hosted_metrics_resolution: "{{ lookup('oo_option', 'openshift_hosted_metrics_resolution') | default(10) }}"
+ when: openshift_hosted_metrics_resolution is not defined
roles:
- openshift_facts