[irker] Latest version of irker with Python 3 and TLSv1.3 is now available on Bullseye
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
2bef9130de
commit
4339fb9673
|
@ -1,16 +1,27 @@
|
|||
---
|
||||
- name: Pin irker from Debian unstable
|
||||
- name: Pin irker from Debian Bullseye
|
||||
template:
|
||||
src: "apt/{{ item }}.j2"
|
||||
dest: "/etc/apt/{{ item }}"
|
||||
loop:
|
||||
- sources.list.d/sid.list
|
||||
- preferences.d/irker-sid
|
||||
- sources.list.d/bullseye.list
|
||||
- preferences.d/irker-bullseye
|
||||
when:
|
||||
- ansible_distribution == "Debian"
|
||||
- ansible_distribution_major_version | int <= 11
|
||||
- ansible_distribution_release != "sid"
|
||||
- ansible_distribution_major_version | int < 11
|
||||
- ansible_distribution_release != "bullseye"
|
||||
|
||||
- name: Don't pin irker if we are on bullseye
|
||||
file:
|
||||
path: "/etc/apt/{{ item }}"
|
||||
state: absent
|
||||
loop:
|
||||
- sources.list.d/bullseye.list
|
||||
- preferences.d/irker-bullseye
|
||||
when:
|
||||
- ansible_distribution == "Debian"
|
||||
- ansible_distribution_major_version | int >= 11
|
||||
- ansible_distribution_release == "bullseye"
|
||||
|
||||
- name: Install Irker for IRC support
|
||||
apt:
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
|
||||
Package: *
|
||||
Pin: release n=sid
|
||||
Pin: release n=bullseye
|
||||
Pin-Priority: 1
|
||||
|
||||
|
||||
Package: irker
|
||||
Pin: release n=sid
|
||||
Pin: release n=bullseye
|
||||
Pin-Priority: 900
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
{{ ansible_header | comment }}
|
||||
|
||||
deb http://{{ mirror.hostname }}/debian bullseye main
|
|
@ -1,3 +0,0 @@
|
|||
{{ ansible_header | comment }}
|
||||
|
||||
deb http://{{ mirror.name }}/debian sid main
|
Loading…
Reference in New Issue