Fixing mandatory check of docker_version that breaks bastion host (#4395)
This commit is contained in:
parent
6f97687d19
commit
ec974e16fa
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue