Skip to content
Snippets Groups Projects
Commit 4339fb96 authored by ynerant's avatar ynerant
Browse files

[irker] Latest version of irker with Python 3 and TLSv1.3 is now available on Bullseye


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent 2bef9130
No related branches found
No related tags found
1 merge request!267Don't pin Debian Sid on Gitzly anymore
--- ---
- name: Pin irker from Debian unstable - name: Pin irker from Debian Bullseye
template: template:
src: "apt/{{ item }}.j2" src: "apt/{{ item }}.j2"
dest: "/etc/apt/{{ item }}" dest: "/etc/apt/{{ item }}"
loop: loop:
- sources.list.d/sid.list - sources.list.d/bullseye.list
- preferences.d/irker-sid - preferences.d/irker-bullseye
when: when:
- ansible_distribution == "Debian" - ansible_distribution == "Debian"
- ansible_distribution_major_version | int <= 11 - ansible_distribution_major_version | int < 11
- ansible_distribution_release != "sid" - 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 - name: Install Irker for IRC support
apt: apt:
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
Package: * Package: *
Pin: release n=sid Pin: release n=bullseye
Pin-Priority: 1 Pin-Priority: 1
Package: irker Package: irker
Pin: release n=sid Pin: release n=bullseye
Pin-Priority: 900 Pin-Priority: 900
{{ ansible_header | comment }} {{ ansible_header | comment }}
deb http://{{ mirror.name }}/debian sid main deb http://{{ mirror.hostname }}/debian bullseye main
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment