fix list templating
This commit is contained in:
parent
74866bf4a4
commit
fc6514efbc
@ -14,7 +14,10 @@ services:
|
||||
- droneserver-data:/var/lib/drone/
|
||||
{% endif %}
|
||||
{% if droneci_server_extra_hosts | default([]) %}
|
||||
extra_hosts: {{ droneci_server_extra_hosts | wrap }}
|
||||
extra_hosts:
|
||||
{% for hosts in droneci_server_extra_hosts %}
|
||||
- {{ host | wrap }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
restart: {{ droneci_server_restart_policy }}
|
||||
environment:
|
||||
|
Loading…
Reference in New Issue
Block a user