Add bullseye support

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:25 -04:00
parent dc83f91bd8
commit 9438ab46d7
2 changed files with 14 additions and 8 deletions

View File

@ -78,7 +78,7 @@
with_items: with_items:
- { src: "etc/apt/apt.conf.d/10norecommends.j2", dest: "/etc/apt/apt.conf.d/10norecommends" } - { src: "etc/apt/apt.conf.d/10norecommends.j2", dest: "/etc/apt/apt.conf.d/10norecommends" }
- { src: "etc/apt/preferences.d/pins.j2", dest: "/etc/apt/preferences.d/pins" } - { src: "etc/apt/preferences.d/pins.j2", dest: "/etc/apt/preferences.d/pins" }
- { src: "etc/apt/sources.list.{{ ansible_machine }}.{{ ansible_distribution_release }}.j2", dest: "/etc/apt/sources.list" } - { src: "etc/apt/sources.list.{{ ansible_machine }}.{{ ansible_lsb.codename }}.j2", dest: "/etc/apt/sources.list" }
tags: base-apt tags: base-apt
- name: add key for bonilan repo - name: add key for bonilan repo
@ -246,13 +246,6 @@
loop_var: network loop_var: network
tags: base-network tags: base-network
# capabilities
- name: set ping capabilities
capabilities:
path: /bin/ping
capability: cap_net_raw=ep
tags: base-system
# locale # locale
- name: install locale config files - name: install locale config files
template: template:

View File

@ -0,0 +1,13 @@
# apt configuration: main sources list
# {{ ansible_managed }}
deb {{ debian_main_repository }} bullseye main contrib non-free
deb-src {{ debian_main_repository }} bullseye main contrib
deb {{ debian_security_repository }} bullseye-security main contrib
deb-src {{ debian_security_repository }} bullseye-security main contrib
deb {{ debian_main_repository }} bullseye-updates main contrib
deb-src {{ debian_main_repository }} bullseye-updates main contrib
deb {{ debian_pvc_repository }} bullseye main