Enable proposed-updates repository for some hosts.

This makes stepwise upgrades and testing on parts of the
infrastructure possible.
This commit is contained in:
Andreas B. Mundt 2024-02-04 20:10:46 +01:00
parent 1e91e30a3f
commit 191948cf8a
3 changed files with 126 additions and 116 deletions

View file

@ -19,3 +19,12 @@
path: /etc/systemd/timesyncd.conf
insertafter: '^#NTP='
line: NTP={{ ntp_serv }}
- name: Add proposed-updates repository
apt_repository:
repo: >
deb http://deb.debian.org/debian/ {{ ansible_distribution_release }}-proposed-updates
main non-free-firmware
state: present
update_cache: true
when: proposed_updates | default(False)