add support for debian bullseye
This commit is contained in:
parent
367a0d2fcd
commit
9c2fdaad30
2 changed files with 24 additions and 13 deletions
22
defaults/main.yml
Normal file
22
defaults/main.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
default_repos:
|
||||
debian:
|
||||
bullseye:
|
||||
debian:
|
||||
url: "deb https://deb.debian.org/{{ ansible_distribution|lower }} {{ ansible_distribution_release|lower }} main contrib non-free"
|
||||
update:
|
||||
url: "deb https://deb.debian.org/{{ ansible_distribution|lower }} {{ ansible_distribution_release|lower }}-updates main contrib non-free"
|
||||
security:
|
||||
url: "deb https://security.debian.org/debian-security {{ ansible_distribution_release|lower }}-security main contrib non-free"
|
||||
backports:
|
||||
url: "deb https://deb.debian.org/{{ ansible_distribution|lower }} {{ ansible_distribution_release|lower }}-backports main"
|
||||
buster:
|
||||
debian:
|
||||
url: "deb http://deb.debian.org/debian {{ ansible_distribution_release|lower }} main contrib non-free"
|
||||
update:
|
||||
url: "deb http://deb.debian.org/debian {{ ansible_distribution_release|lower }}-updates main contrib non-free"
|
||||
security:
|
||||
url: "deb http://deb.debian.org/debian-security/ {{ ansible_distribution_release|lower }}/updates main contrib non-free"
|
||||
backports:
|
||||
url: "deb http://http.debian.net/{{ ansible_distribution|lower }} {{ ansible_distribution_release|lower }}-backports main"
|
||||
|
||||
|
||||
|
|
@ -1,9 +1,8 @@
|
|||
|
||||
packages:
|
||||
pkg:
|
||||
aptitude: {}
|
||||
"apt-transport-https": {}
|
||||
bsdtar: {}
|
||||
"libarchive-tools": {}
|
||||
bzip2: {}
|
||||
curl: {}
|
||||
dnsutils: {}
|
||||
|
|
@ -42,14 +41,4 @@ packages:
|
|||
vnstat: {}
|
||||
"xz-utils": {}
|
||||
zsh: {}
|
||||
repos:
|
||||
debian:
|
||||
url: "deb http://deb.debian.org/debian {{ ansible_distribution_release|lower }} main contrib non-free"
|
||||
update:
|
||||
url: "deb http://deb.debian.org/debian {{ ansible_distribution_release|lower }}-updates main contrib non-free"
|
||||
security:
|
||||
url: "deb http://deb.debian.org/debian-security/ {{ ansible_distribution_release|lower }}/updates main contrib non-free"
|
||||
# backports:
|
||||
# url: "deb http://http.debian.net/{{ ansible_distribution|lower }} {{ ansible_distribution_release|lower }}-backports main"
|
||||
# url: "deb http://http.debian.net/{{ ansible_distribution|lower }} {{ ansible_distribution_release|lower }}-backports main"
|
||||
|
||||
repos: "{{ default_repos[ansible_distribution|lower][ansible_distribution_release|lower] }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue