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:
|
packages:
|
||||||
pkg:
|
pkg:
|
||||||
aptitude: {}
|
aptitude: {}
|
||||||
"apt-transport-https": {}
|
"apt-transport-https": {}
|
||||||
bsdtar: {}
|
"libarchive-tools": {}
|
||||||
bzip2: {}
|
bzip2: {}
|
||||||
curl: {}
|
curl: {}
|
||||||
dnsutils: {}
|
dnsutils: {}
|
||||||
|
|
@ -42,14 +41,4 @@ packages:
|
||||||
vnstat: {}
|
vnstat: {}
|
||||||
"xz-utils": {}
|
"xz-utils": {}
|
||||||
zsh: {}
|
zsh: {}
|
||||||
repos:
|
repos: "{{ default_repos[ansible_distribution|lower][ansible_distribution_release|lower] }}"
|
||||||
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"
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue