Commit 422b25a Preslav Draganov
authored
1 parent b752739 commit 422b25a Copy full SHA for 422b25a
File tree 1 file changed +3
-0
lines changed
roles/container-engine/docker/templates
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,15 @@ Description=Docker Application Container Engine
3
3
Documentation=http://docs.docker.com
4
4
{% if ansible_os_family == "RedHat" %}
5
5
After=network.target {{ ' docker-storage-setup.service' if docker_container_storage_setup else '' }}{{ ' containerd.service' if installed_docker_version.stdout is version('18.09.1', '>=') else '' }}
6
+ {{ 'BindsTo=containerd.service' if installed_docker_version.stdout is version('18.09.1', '>=') }}
6
7
{{ 'Wants=docker-storage-setup.service' if docker_container_storage_setup else '' }}
7
8
{% elif ansible_os_family == "Debian" %}
8
9
After=network.target docker.socket{{ ' containerd.service' if installed_docker_version.stdout is version('18.09.1', '>=') else '' }}
10
+ {{ 'BindsTo=containerd.service' if installed_docker_version.stdout is version('18.09.1', '>=') }}
9
11
Wants=docker.socket
10
12
{% elif ansible_os_family == "Suse" %}
11
13
After=network.target{{ ' containerd.service' if installed_docker_version.stdout is version('18.09.1', '>=') else '' }}
14
+ {{ 'BindsTo=containerd.service' if installed_docker_version.stdout is version('18.09.1', '>=') }}
12
15
{% endif %}
13
16
14
17
[Service]
You can’t perform that action at this time.
0 commit comments