diff --git a/defaults/main.yml b/defaults/main.yml index 7091c10..acd15a1 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -8,6 +8,8 @@ docker_options: dns-search: "{{ docker_dns_search |default(None) }}" registry-mirror: "{{ docker_registry_mirror |default(None) }}" storage-driver : "{{ docker_storage_driver |default(None) }}" + log-driver: "{{ docker_log_driver |default('json-file') }}" + log-opts: "{{ docker_logs_opts |default( { 'max-file': '3', 'max-size': '100m' } ) }}"