Use .profile instead of environment.d
This commit is contained in:
parent
6a83e981a2
commit
4ff517bc38
1 changed files with 6 additions and 7 deletions
|
|
@ -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"
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue