Premier commit
This commit is contained in:
12
roles/webautoconf/files/wpad.dat
Normal file
12
roles/webautoconf/files/wpad.dat
Normal file
@@ -0,0 +1,12 @@
|
||||
// config automatique
|
||||
// PS - 2015-06-09
|
||||
function FindProxyForURL(url, host)
|
||||
{
|
||||
if (isPlainHostName(host) ||
|
||||
dnsDomainIs(host, "gsb.lan") ||
|
||||
isInNet(host, "172.16.0.0", "255.255.255.0") ||
|
||||
isInNet(host, "127.0.0.1", "255.255.255.255"))
|
||||
return "DIRECT";
|
||||
else
|
||||
return "PROXY 172.16.0.2:8080";
|
||||
}
|
9
roles/webautoconf/tasks/main.yml
Normal file
9
roles/webautoconf/tasks/main.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
|
||||
- name: Installation lighttpd
|
||||
apt: name=lighttpd state=present
|
||||
|
||||
- name: Copie wpad.dat
|
||||
copy: src=wpad.dat dest=/var/www/html
|
||||
|
||||
|
Reference in New Issue
Block a user