From f06bc67caa96e9c2d20317b70ae74f5a10f6cc88 Mon Sep 17 00:00:00 2001 From: Chris Bell Date: Wed, 22 Jun 2016 09:51:49 -0400 Subject: [PATCH] Maintain backwards compatibility with EL6 --- roles/network_plugin/calico/templates/systemd-docker.service | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/network_plugin/calico/templates/systemd-docker.service b/roles/network_plugin/calico/templates/systemd-docker.service index 3d019c7a3..01383d772 100644 --- a/roles/network_plugin/calico/templates/systemd-docker.service +++ b/roles/network_plugin/calico/templates/systemd-docker.service @@ -13,8 +13,9 @@ Requires=docker.socket Type=notify {% if ansible_os_family == "RedHat" %} EnvironmentFile=-/etc/default/docker -EnvironmentFile=-/etc/default/docker-network -EnvironmentFile=-/etc/docker/docker-storage +EnvironmentFile=-/etc/sysconfig/docker +EnvironmentFile=-/etc/sysconfig/docker-network +EnvironmentFile=-/etc/sysconfig/docker-storage {% elif ansible_os_family == "Debian" %} EnvironmentFile=-/etc/default/docker {% endif %}