diff --git a/ansible/roles/docker/tasks/main.yml b/ansible/roles/docker/tasks/main.yml index 13fd6bd03..1ee5976e2 100644 --- a/ansible/roles/docker/tasks/main.yml +++ b/ansible/roles/docker/tasks/main.yml @@ -11,7 +11,7 @@ {%- set _ = options.update({"registry-mirrors": docker_registry_mirrors}) -%} {%- endif -%} {%- if docker_daemon_mtu -%} - {%- set _ = options.update({"mtu": docker_daemon_mtu}) -%} + {%- set _ = options.update({"mtu": docker_daemon_mtu | int}) -%} {%- endif -%} {%- if docker_daemon_live_restore | bool -%} {%- set _ = options.update({"live-restore": docker_daemon_live_restore | bool}) -%}