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