Browse Source

Log driver for JSON should be json-file

When setting the max size for logs, we were checking if
the log driver is set to "json", when in fact it would be
"json-file". This was causing the max size to not be set.

Signed-off-by: umohnani8 <umohnani@redhat.com>
umohnani8 6 years ago
parent
commit
d223823515
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/container_runtime/defaults/main.yml

+ 1 - 1
roles/container_runtime/defaults/main.yml

@@ -18,7 +18,7 @@ openshift_docker_ent_reg: 'registry.redhat.io'
 openshift_docker_options: False  # str
 openshift_docker_log_driver: False  # str
 openshift_docker_log_options_defaults:
-  json:
+  json-file:
   - "max-size=50m"
 openshift_docker_log_options: "{{ openshift_docker_log_options_defaults[openshift_docker_log_driver] | default([]) }}"