diff options
Diffstat (limited to 'roles/debian/templates/sources.list.j2')
-rw-r--r-- | roles/debian/templates/sources.list.j2 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/debian/templates/sources.list.j2 b/roles/debian/templates/sources.list.j2 new file mode 100644 index 0000000..b6c54c3 --- /dev/null +++ b/roles/debian/templates/sources.list.j2 @@ -0,0 +1,8 @@ +{% for name, opts in apt_sources|dictsort(true) %} +{% if opts is mapping %} +deb {{ apt_repos[name]['uri'] }} {{ apt_repos[name].suite }} {{ opts.components|join(' ') }} +{% if 'source' in opts and opts.source %} +deb-src {{ apt_repos[name]['uri'] }} {{ apt_repos[name].suite }} {{ opts.components|join(' ') }} +{% endif %} +{% endif %} +{% endfor %} |