summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks
diff options
context:
space:
mode:
authorJustin Cook <jhcook@gmail.com>2016-10-11 09:55:39 +0100
committerJustin Cook <jhcook@gmail.com>2016-10-11 09:55:39 +0100
commit69c6b0f3fc9d1908c35a661afcb2689fbf28207e (patch)
tree4f76e8df894c5df332c81b4bb156b11f8bcb4545 /roles/openshift_node/tasks
parente5f2d1d43bc12b9bee353dab6a74ae7b79ec2de0 (diff)
downloadopenshift-69c6b0f3fc9d1908c35a661afcb2689fbf28207e.tar.gz
openshift-69c6b0f3fc9d1908c35a661afcb2689fbf28207e.tar.bz2
openshift-69c6b0f3fc9d1908c35a661afcb2689fbf28207e.tar.xz
openshift-69c6b0f3fc9d1908c35a661afcb2689fbf28207e.zip
set defaults for debug_level in template and task
Diffstat (limited to 'roles/openshift_node/tasks')
-rw-r--r--roles/openshift_node/tasks/systemd_units.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_node/tasks/systemd_units.yml b/roles/openshift_node/tasks/systemd_units.yml
index a2192a4d0..40d1dd50b 100644
--- a/roles/openshift_node/tasks/systemd_units.yml
+++ b/roles/openshift_node/tasks/systemd_units.yml
@@ -40,7 +40,7 @@
create: true
with_items:
- regex: '^OPTIONS='
- line: "OPTIONS=--loglevel={{ openshift.node.debug_level }}"
+ line: "OPTIONS=--loglevel={{ openshift.node.debug_level | default(2) }}"
- regex: '^CONFIG_FILE='
line: "CONFIG_FILE={{ openshift_node_config_file }}"
- regex: '^IMAGE_VERSION='