From 69c6b0f3fc9d1908c35a661afcb2689fbf28207e Mon Sep 17 00:00:00 2001 From: Justin Cook Date: Tue, 11 Oct 2016 09:55:39 +0100 Subject: set defaults for debug_level in template and task --- roles/openshift_node/tasks/systemd_units.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/openshift_node/tasks') 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=' -- cgit v1.2.3