summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master
diff options
context:
space:
mode:
authorjawed <jawed.khelil@amadeus.com>2016-02-22 12:50:55 +0100
committerjawed <jawed.khelil@amadeus.com>2016-02-23 09:10:29 +0100
commitdd2ac8e7e8c0101dff3fe7e7fcb4d884274e831e (patch)
tree0f850ee47ef0ed964918864ed27cff8c34422f37 /playbooks/common/openshift-master
parent4e1a63dbd3034c748c1164cd8478e3c50a16ee0a (diff)
downloadopenshift-dd2ac8e7e8c0101dff3fe7e7fcb4d884274e831e.tar.gz
openshift-dd2ac8e7e8c0101dff3fe7e7fcb4d884274e831e.tar.bz2
openshift-dd2ac8e7e8c0101dff3fe7e7fcb4d884274e831e.tar.xz
openshift-dd2ac8e7e8c0101dff3fe7e7fcb4d884274e831e.zip
configure debug_level for master and node from cli
Diffstat (limited to 'playbooks/common/openshift-master')
-rw-r--r--playbooks/common/openshift-master/config.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index 77edbd1a6..c05484737 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -28,6 +28,11 @@
| default([]))
| oo_collect('openshift.common.hostname')
| default(none, true) }}"
+
+ - set_fact:
+ openshift_master_debug_level: "{{ lookup('oo_option', 'openshift_master_debug_level') | default(openshift.common.debug_level, true) }}"
+ when: openshift_master_debug_level is not defined
+
roles:
- openshift_facts
post_tasks: