aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/apt_repo/templates/repo.list.j2
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-29 20:27:13 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-29 20:29:53 +0200
commite52ae9cb238069836dd30ee8a4d5636daf74bf7d (patch)
tree59187b4cf663f13a86d7bc7468f33f18a562a83a /roles/apt_repo/templates/repo.list.j2
parentv0.0.22 (diff)
downloadinfra-ansible-e52ae9cb238069836dd30ee8a4d5636daf74bf7d.tar.gz
infra-ansible-e52ae9cb238069836dd30ee8a4d5636daf74bf7d.zip
apt_repo: always overwrite the .list file
Diffstat (limited to 'roles/apt_repo/templates/repo.list.j2')
-rw-r--r--roles/apt_repo/templates/repo.list.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/apt_repo/templates/repo.list.j2 b/roles/apt_repo/templates/repo.list.j2
new file mode 100644
index 0000000..ffb100c
--- /dev/null
+++ b/roles/apt_repo/templates/repo.list.j2
@@ -0,0 +1,3 @@
+{{ ansible_managed | comment }}
+
+deb [signed-by={{ key_path }}] {{ apt_repo_url }} {{ apt_repo_distro | default(ansible_distribution_release) }} {{ apt_repo_component }}