mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
cleaner messaging
This commit is contained in:
parent
bc7efdd8d9
commit
052305979f
1 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
- name: Install squid packages
|
- name: Install Squid packages
|
||||||
package: name={{ item }}
|
package: name={{ item }}
|
||||||
state=present
|
state=present
|
||||||
with_items:
|
with_items:
|
||||||
|
@ -7,7 +7,7 @@
|
||||||
tags:
|
tags:
|
||||||
- download
|
- download
|
||||||
|
|
||||||
- name: Create the squid user
|
- name: Create the Squid user
|
||||||
user: name={{ proxy_user }}
|
user: name={{ proxy_user }}
|
||||||
createhome=False
|
createhome=False
|
||||||
shell=/bin/false
|
shell=/bin/false
|
||||||
|
@ -50,14 +50,14 @@
|
||||||
group: 'root'
|
group: 'root'
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
- name: Create squid cache directory
|
- name: Create Squid cache directory
|
||||||
file: path=/library/cache
|
file: path=/library/cache
|
||||||
owner={{ proxy_user }}
|
owner={{ proxy_user }}
|
||||||
group={{ proxy_user }}
|
group={{ proxy_user }}
|
||||||
mode=0750
|
mode=0750
|
||||||
state=directory
|
state=directory
|
||||||
|
|
||||||
- name: Create squid log directory
|
- name: Create Squid log directory
|
||||||
file: path=/var/log/{{ proxy }}
|
file: path=/var/log/{{ proxy }}
|
||||||
owner={{ proxy_user }}
|
owner={{ proxy_user }}
|
||||||
group={{ proxy_user }}
|
group={{ proxy_user }}
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
when: not installing
|
when: not installing
|
||||||
|
|
||||||
- name: Add squid to service list
|
- name: Add Squid to service list
|
||||||
ini_file: dest='{{ service_filelist }}'
|
ini_file: dest='{{ service_filelist }}'
|
||||||
section={{ proxy }}
|
section={{ proxy }}
|
||||||
option='{{ item.option }}'
|
option='{{ item.option }}'
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
- option: enabled
|
- option: enabled
|
||||||
value: "{{ squid_enabled }}"
|
value: "{{ squid_enabled }}"
|
||||||
|
|
||||||
- name: Add dansguardian to service list
|
- name: Add 'dansguardian' to service list
|
||||||
ini_file: dest='{{ service_filelist }}'
|
ini_file: dest='{{ service_filelist }}'
|
||||||
section=dansguardian
|
section=dansguardian
|
||||||
option='{{ item.option }}'
|
option='{{ item.option }}'
|
||||||
|
@ -95,6 +95,6 @@
|
||||||
- option: name
|
- option: name
|
||||||
value: dansguardian
|
value: dansguardian
|
||||||
- option: description
|
- option: description
|
||||||
value: '"Dansguardian searches web content for sexual references and denies access when found"'
|
value: '"DansGuardian searches web content for obectionable references and denies access when found."'
|
||||||
- option: enabled
|
- option: enabled
|
||||||
value: "{{ dansguardian_enabled }}"
|
value: "{{ dansguardian_enabled }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue