Maintain backwards compatibility with EL6
This commit is contained in:
parent
1a5afa58db
commit
f06bc67caa
1 changed files with 3 additions and 2 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue