diff --git a/templates/services/droneci-compose.yml.j2 b/templates/services/droneci-compose.yml.j2 index 4aeb787..9c542a5 100644 --- a/templates/services/droneci-compose.yml.j2 +++ b/templates/services/droneci-compose.yml.j2 @@ -16,7 +16,7 @@ services: {% if droneci_server_extra_hosts | default([]) %} extra_hosts: {% for host in droneci_server_extra_hosts %} - - {{ host | wrap }} + - {{ '"' + host + '"' }} {% endfor %} {% endif %} restart: {{ droneci_server_restart_policy }}