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
|
|
|
|
|
|
|
- name: set aptcache
|
|
|
|
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
|
|
|
|
|
|
|
- name: set ntp Server
|
|
|
|
ansible.builtin.lineinfile:
|
|
|
|
path: /etc/systemd/timesyncd.conf
|
|
|
|
insertafter: '^#NTP='
|
2023-09-02 15:46:27 +02:00
|
|
|
line: NTP={{ ntp_serv }}
|