summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-10-11 11:52:42 -0400
committerGitHub <noreply@github.com>2017-10-11 11:52:42 -0400
commit7b5cc97271ae834b9f2e64ec2b17f4ea3208017f (patch)
tree7917fefb2a817c3f5446c8c6f8d489526651ee1c /roles/openshift_node
parentc38f63cc4a7e8cf2942e5bc83ee92fbea7aa59fe (diff)
parentbb1d5f45255d60a88a3220ea7e7b724a073465b1 (diff)
downloadopenshift-7b5cc97271ae834b9f2e64ec2b17f4ea3208017f.tar.gz
openshift-7b5cc97271ae834b9f2e64ec2b17f4ea3208017f.tar.bz2
openshift-7b5cc97271ae834b9f2e64ec2b17f4ea3208017f.tar.xz
openshift-7b5cc97271ae834b9f2e64ec2b17f4ea3208017f.zip
Merge pull request #5716 from mgugino-upstream-stage/fix-debug_level
Fix broken debug_level
Diffstat (limited to 'roles/openshift_node')
-rw-r--r--roles/openshift_node/defaults/main.yml2
-rw-r--r--roles/openshift_node/tasks/config/configure-node-settings.yml2
2 files changed, 3 insertions, 1 deletions
diff --git a/roles/openshift_node/defaults/main.yml b/roles/openshift_node/defaults/main.yml
index 1214c08e5..298d1013f 100644
--- a/roles/openshift_node/defaults/main.yml
+++ b/roles/openshift_node/defaults/main.yml
@@ -1,4 +1,6 @@
---
+openshift_node_debug_level: "{{ debug_level | default(2) }}"
+
r_openshift_node_firewall_enabled: "{{ os_firewall_enabled | default(True) }}"
r_openshift_node_use_firewalld: "{{ os_firewall_use_firewalld | default(False) }}"
diff --git a/roles/openshift_node/tasks/config/configure-node-settings.yml b/roles/openshift_node/tasks/config/configure-node-settings.yml
index 1186062eb..527580481 100644
--- a/roles/openshift_node/tasks/config/configure-node-settings.yml
+++ b/roles/openshift_node/tasks/config/configure-node-settings.yml
@@ -7,7 +7,7 @@
create: true
with_items:
- regex: '^OPTIONS='
- line: "OPTIONS=--loglevel={{ openshift.node.debug_level | default(2) }}"
+ line: "OPTIONS=--loglevel={{ openshift_node_debug_level }}"
- regex: '^CONFIG_FILE='
line: "CONFIG_FILE={{ openshift.common.config_base }}/node/node-config.yaml"
- regex: '^IMAGE_VERSION='