From 41e810d3323176454a50da6e9d76e837264a5ae4 Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Sun, 12 Dec 2021 20:17:38 +0100 Subject: ansible update on debian --- ansible-2.j2 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 ansible-2.j2 (limited to 'ansible-2.j2') diff --git a/ansible-2.j2 b/ansible-2.j2 new file mode 100644 index 0000000..746d5bf --- /dev/null +++ b/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 %} -- cgit v1.2.3