Clean up proxy configuraton.
This commit is contained in:
parent
5f5e9c53a6
commit
3ea922c263
5 changed files with 10 additions and 25 deletions
|
@ -26,6 +26,8 @@
|
||||||
kerberize_uris: steinbeis.schule
|
kerberize_uris: steinbeis.schule
|
||||||
apt_conf: Acquire::http::Proxy "http://aptcache.pn.steinbeis.schule:3142/";
|
apt_conf: Acquire::http::Proxy "http://aptcache.pn.steinbeis.schule:3142/";
|
||||||
ntp_serv: server.pn.steinbeis.schule
|
ntp_serv: server.pn.steinbeis.schule
|
||||||
|
proxy: http://firewall.pn.steinbeis.schule:3128
|
||||||
|
no_proxy: firewall.pn.steinbeis.schule,server.pn.steinbeis.schule,idam.steinbeis.schule,dw.steinbeis.schule,.pn.steinbeis.schule,.steinbeis.schule
|
||||||
|
|
||||||
## PAM mount nextcloud, remove or leave empty to skip:
|
## PAM mount nextcloud, remove or leave empty to skip:
|
||||||
web_dav: https://nc.steinbeis.schule/remote.php/dav/files/%(USER)
|
web_dav: https://nc.steinbeis.schule/remote.php/dav/files/%(USER)
|
||||||
|
|
|
@ -1,4 +1,12 @@
|
||||||
---
|
---
|
||||||
|
- 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 }}"
|
||||||
|
|
||||||
- name: set aptcache
|
- name: set aptcache
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
---
|
|
||||||
- name: install additional packages
|
|
||||||
apt:
|
|
||||||
name:
|
|
||||||
- ttf-mscorefonts-installer
|
|
||||||
- sqlite3
|
|
||||||
- sqlitebrowser
|
|
||||||
- neovim
|
|
||||||
state: latest
|
|
||||||
autoremove: true
|
|
||||||
environment:
|
|
||||||
http_proxy: http://firewall.pn.steinbeis.schule:3128
|
|
||||||
https_proxy: http://firewall.pn.steinbeis.schule:3128
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
export http_proxy='http://firewall.pn.steinbeis.schule:3128'
|
|
||||||
export https_proxy=$http_proxy
|
|
||||||
export ftp_proxy=$http_proxy
|
|
||||||
export no_proxy=firewall.pn.steinbeis.schule,server.pn.steinbeis.schule,idam.steinbeis.schule,dw.steinbeis.schule,.pn.steinbeis.schule,.steinbeis.schule
|
|
|
@ -164,12 +164,6 @@
|
||||||
path: /usr/lib/qemu/qemu-bridge-helper
|
path: /usr/lib/qemu/qemu-bridge-helper
|
||||||
mode: '4755'
|
mode: '4755'
|
||||||
|
|
||||||
- name: Deploy http proxy config
|
|
||||||
copy:
|
|
||||||
src: lmn-proxy.sh
|
|
||||||
dest: /etc/profile.d/
|
|
||||||
mode: '0644'
|
|
||||||
|
|
||||||
- name: Create directory for local .desktop-Files
|
- name: Create directory for local .desktop-Files
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{ item }"
|
path: "{ item }"
|
||||||
|
|
Loading…
Add table
Reference in a new issue