1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Set default log_driver to None to prevent config comparison when a log_driver is not specified. Fixes #4600.

This commit is contained in:
Chris Houseknecht 2016-09-10 01:31:36 -04:00 committed by Matt Clay
parent 05303a974d
commit e95f773d96

View file

@ -200,7 +200,7 @@ options:
required: false required: false
log_driver: log_driver:
description: description:
- Specify the logging driver. - Specify the logging driver. Docker uses json-file by default.
choices: choices:
- json-file - json-file
- syslog - syslog
@ -209,7 +209,7 @@ options:
- fluentd - fluentd
- awslogs - awslogs
- splunk - splunk
default: json-file default: null
required: false required: false
log_options: log_options:
description: description:
@ -1906,7 +1906,7 @@ def main():
kill_signal=dict(type='str'), kill_signal=dict(type='str'),
labels=dict(type='dict'), labels=dict(type='dict'),
links=dict(type='list'), links=dict(type='list'),
log_driver=dict(type='str', choices=['json-file', 'syslog', 'journald', 'gelf', 'fluentd', 'awslogs', 'splunk'], default='json-file'), log_driver=dict(type='str', choices=['json-file', 'syslog', 'journald', 'gelf', 'fluentd', 'awslogs', 'splunk'], default=None),
log_options=dict(type='dict', aliases=['log_opt']), log_options=dict(type='dict', aliases=['log_opt']),
mac_address=dict(type='str'), mac_address=dict(type='str'),
memory=dict(type='str', default='0'), memory=dict(type='str', default='0'),