Skip to content

Commit

Permalink
Adding default log driver opts
Browse files Browse the repository at this point in the history
  • Loading branch information
maricaantonacci committed Oct 23, 2018
1 parent a84a51f commit 93ef0f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' } ) }}"



0 comments on commit 93ef0f0

Please sign in to comment.