summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-10-27 13:44:40 -0400
committerAndrew Butcher <abutcher@redhat.com>2017-02-02 16:25:21 -0500
commit222e0e52f7176ae028caaf8406bb0b08ebff715d (patch)
treef48a5bd92eff562ae82bd8f1c25ff35e9b691b49 /roles/openshift_facts
parent4dfe8c715bfc49a913d7c7bea80c475a9b50b41e (diff)
downloadopenshift-222e0e52f7176ae028caaf8406bb0b08ebff715d.tar.gz
openshift-222e0e52f7176ae028caaf8406bb0b08ebff715d.tar.bz2
openshift-222e0e52f7176ae028caaf8406bb0b08ebff715d.tar.xz
openshift-222e0e52f7176ae028caaf8406bb0b08ebff715d.zip
Change default docker log driver from json-file to journald.
Diffstat (limited to 'roles/openshift_facts')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index 7c61da950..e72ab26fc 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -2027,7 +2027,7 @@ class OpenShiftFacts(object):
if 'docker' in roles:
docker = dict(disable_push_dockerhub=False,
- options='--log-driver=json-file --log-opt max-size=50m')
+ options='--log-driver=journald')
# NOTE: This is a workaround for a dnf output racecondition that can occur in
# some situations. See https://bugzilla.redhat.com/show_bug.cgi?id=918184
if self.system_facts['ansible_pkg_mgr'] == 'dnf':