mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-13 02:50:05 -03:30
Fixing mandatory check of docker_version that breaks bastion host (#4395)
This commit is contained in:
parent
6f97687d19
commit
ec974e16fa
@ -213,7 +213,7 @@ docker_options: >-
|
||||
{% if docker_registry_mirrors is defined %}
|
||||
{{ docker_registry_mirrors | map('regex_replace', '^(.*)$', '--registry-mirror=\1' ) | list | join(' ') }}
|
||||
{%- endif %}
|
||||
{%- if docker_version is version('17.05', '<') %}
|
||||
{%- if docker_version is defined and docker_version is version('17.05', '<') %}
|
||||
--graph={{ docker_daemon_graph }} {{ docker_log_opts }}
|
||||
{%- else %}
|
||||
--data-root={{ docker_daemon_graph }} {{ docker_log_opts }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user