git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/debian-ansible-2.j2
diff options
context:
space:
mode:
authormail_redacted_for_web 2022-01-10 14:32:38 +0100
committermail_redacted_for_web 2022-01-10 14:32:38 +0100
commit0bac22d3d5799ef6c95838d3de08a0d1e1d7ef2b (patch)
treedcc7c0f65b858bfaff86dfebba83e27c70633e42 /debian-ansible-2.j2
parent1ee6fb2719b44650e5b012945ce8710a7ac98f5b (diff)
downloadansible-0bac22d3d5799ef6c95838d3de08a0d1e1d7ef2b.tar.bz2
rename of ansible debian templating
Diffstat (limited to 'debian-ansible-2.j2')
-rw-r--r--debian-ansible-2.j219
1 files changed, 19 insertions, 0 deletions
diff --git a/debian-ansible-2.j2 b/debian-ansible-2.j2
new file mode 100644
index 0000000..746d5bf
--- /dev/null
+++ b/debian-ansible-2.j2
@@ -0,0 +1,19 @@
+{#
+# vim:syntax=jinja
+#}
+{% if vars.ans is defined %}
+{% if ansible_distribution_version is defined and ansible_distribution_version == "11" %}
+# Debian 11 ({{vars.ans.11.debname}})
+deb http://ppa.launchpad.net/ansible/ansible/ubuntu {{vars.ans.11.release}} main
+{% elif ansible_distribution_version is defined and ansible_distribution_version == "10" %}
+# Debian 10 ({{vars.ans.10.debname}})
+deb http://ppa.launchpad.net/ansible/ansible/ubuntu {{vars.ans.10.release}} main
+{% elif ansible_distribution_version is defined and ansible_distribution_version == "9" %}
+# Debian 9 ({{vars.ans.9.debname}})
+deb http://ppa.launchpad.net/ansible/ansible/ubuntu {{vars.ans.9.release}} main
+{% else %}
+# NO REPO KNOWN FOR THIS DEBIAN RELEASE
+{% endif %}
+{% else %}
+# RS.ANS WAS NOT DEFINED
+{% endif %}