2023-07-12 15:50:46 +02:00
|
|
|
---
|
2023-10-10 12:36:58 +02:00
|
|
|
- name: Set aptcache
|
2023-07-12 15:50:46 +02:00
|
|
|
ansible.builtin.copy:
|
|
|
|
dest: /etc/apt/apt.conf
|
2025-03-24 07:33:56 +01:00
|
|
|
mode: '0644'
|
2023-07-12 15:50:46 +02:00
|
|
|
content: >
|
2023-09-02 15:46:27 +02:00
|
|
|
{{ apt_conf }}
|
2025-08-06 08:46:39 +02:00
|
|
|
when: apt_conf is defined
|
2023-07-12 15:50:46 +02:00
|
|
|
|
2023-10-10 12:36:58 +02:00
|
|
|
- name: Set NTP server
|
2023-07-12 15:50:46 +02:00
|
|
|
ansible.builtin.lineinfile:
|
|
|
|
path: /etc/systemd/timesyncd.conf
|
|
|
|
insertafter: '^#NTP='
|
2023-09-02 15:46:27 +02:00
|
|
|
line: NTP={{ ntp_serv }}
|
2025-08-06 08:46:39 +02:00
|
|
|
when: ntp_serv is defined
|
2024-02-04 20:10:46 +01:00
|
|
|
|
|
|
|
- name: Add proposed-updates repository
|
2025-03-24 07:33:56 +01:00
|
|
|
ansible.builtin.apt_repository:
|
2024-02-04 20:10:46 +01:00
|
|
|
repo: >
|
|
|
|
deb http://deb.debian.org/debian/ {{ ansible_distribution_release }}-proposed-updates
|
|
|
|
main non-free-firmware
|
|
|
|
state: present
|
2024-11-21 11:20:26 +01:00
|
|
|
when: "'R202' in group_names"
|