Set http_proxy environment in localproxy role

This commit is contained in:
Raphael Dannecker 2025-04-02 13:59:53 +02:00
parent 6c8d1b1f28
commit a4e2f22def
2 changed files with 10 additions and 11 deletions

View file

@ -36,3 +36,13 @@
name: usersquid.service
scope: global
enabled: true
- name: Deploy http proxy config
ansible.builtin.copy:
dest: /etc/environment.d/10-lmn-proxy.conf
mode: '0644'
content: |
http_proxy="http://localhost:3128"
https_proxy="http://localhost:3128"
ftp_proxy="http://localhost:3128"
no_proxy="{{ no_proxy }}"