Commit 70b09ec2 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

Add Debian 11 repository

parent 22f37b87
......@@ -10,6 +10,10 @@
- file: path=/etc/apt/sources.list.d/re6stnet.list state=absent
when: ansible_distribution == "Debian"
- name: Install Debian 11 repository key
apt_key: url={{ base_open_build_url }}/Debian_11/Release.key state=present
when: ansible_distribution == "Debian" and ansible_distribution_major_version == "11"
- name: Install Debian 10 repository key
apt_key: url={{ base_open_build_url }}/Debian_10/Release.key state=present
when: ansible_distribution == "Debian" and ansible_distribution_major_version == "10"
......@@ -22,6 +26,10 @@
apt_key: url={{ base_open_build_url }}/Debian_8.0/Release.key state=present
when: ansible_distribution == "Debian" and ansible_distribution_major_version == "8"
- name: Install Debian 11 repository
apt_repository: repo='deb {{ base_open_build_url }}/Debian_11/ ./' state=present
when: ansible_distribution == "Debian" and ansible_distribution_major_version == "11"
- name: Install Debian 10 repository
apt_repository: repo='deb {{ base_open_build_url }}/Debian_10/ ./' state=present
when: ansible_distribution == "Debian" and ansible_distribution_major_version == "10"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment