2023-07-12 15:50:46 +02:00
|
|
|
---
|
2023-09-04 12:31:51 +02:00
|
|
|
- name: Deploy http proxy config
|
|
|
|
copy:
|
|
|
|
dest: /etc/environment.d/10-lmn-proxy.conf
|
|
|
|
content: |
|
|
|
|
http_proxy="{{ proxy }}"
|
|
|
|
https_proxy="{{ proxy }}"
|
|
|
|
ftp_proxy="{{ proxy }}"
|
|
|
|
no_proxy="{{ no_proxy }}"
|
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
|
|
|
|
content: >
|
2023-09-02 15:46:27 +02:00
|
|
|
{{ apt_conf }}
|
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 }}
|
2024-02-04 20:10:46 +01:00
|
|
|
|
|
|
|
- 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
|
|
|
|
when: proposed_updates | default(False)
|