Use .profile instead of environment.d

This commit is contained in:
Raphael Dannecker 2026-01-24 12:52:19 +01:00
parent 6a83e981a2
commit 4ff517bc38

View file

@ -50,10 +50,9 @@
notify: Update grub notify: Update grub
- name: Deploy http proxy config - name: Deploy http proxy config
ansible.builtin.copy: ansible.builtin.blockinfile:
dest: /etc/environment.d/10-lmn-proxy.conf path: /home/user/.profile
mode: '0644' block: |
content: | export http_proxy="http://192.168.122.1:3128"
http_proxy="http://192.168.122.1:3128" export https_proxy="http://192.168.122.1:3128"
https_proxy="http://192.168.122.1:3128" export ftp_proxy="http://192.168.122.1:3128"
ftp_proxy="http://192.168.122.1:3128"