infra/roles/common/templates/apt.list.tasks.j2
2018-10-02 10:16:46 +04:00

10 lines
299 B
Django/Jinja

# {{ansible_managed}}
{% for t in stack.apt_sources_from_tasks %}
{% if t is mapping %}
{% if inventory_hostname_short in t.binds %}
rpm http://git.altlinux.org repo/{{t.id}}/{{node.arch}} task
{% endif %}
{% else %}
rpm http://git.altlinux.org repo/{{t}}/{{node.arch}} task
{% endif %}
{% endfor %}