mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update squid.yml
This commit is contained in:
parent
d6c60eb020
commit
7c79fed0ae
1 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
- name: 'Install packages: {{ proxy }} and cadaver'
|
- name: "Install 2 packages: {{ proxy }}, cadaver"
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
- "{{ proxy }}"
|
- "{{ proxy }}"
|
||||||
|
@ -7,7 +7,7 @@
|
||||||
tags:
|
tags:
|
||||||
- download
|
- download
|
||||||
|
|
||||||
- name: 'Bigger hammer for Ubuntu, run: /etc/init.d/squid stop'
|
- name: "Bigger hammer for Ubuntu, run: /etc/init.d/squid stop"
|
||||||
command: /etc/init.d/squid stop
|
command: /etc/init.d/squid stop
|
||||||
when: is_ubuntu
|
when: is_ubuntu
|
||||||
|
|
||||||
|
@ -17,13 +17,13 @@
|
||||||
state: stopped
|
state: stopped
|
||||||
when: not installing
|
when: not installing
|
||||||
|
|
||||||
- name: 'Create the Squid user: {{ proxy_user }}'
|
- name: "Create the Squid user: {{ proxy_user }}"
|
||||||
user:
|
user:
|
||||||
name: "{{ proxy_user }}"
|
name: "{{ proxy_user }}"
|
||||||
createhome: False
|
createhome: False
|
||||||
shell: /bin/false
|
shell: /bin/false
|
||||||
|
|
||||||
- name: 'Install from template: /usr/bin/iiab-httpcache, /etc/sysconfig/squid, /etc/{{ proxy }}/sites.whitelist.txt and 3 .rules files'
|
- name: "Install from template: /usr/bin/iiab-httpcache, /etc/sysconfig/squid, /etc/{{ proxy }}/sites.whitelist.txt and 3 .rules files"
|
||||||
template:
|
template:
|
||||||
src: "{{ item.src }}"
|
src: "{{ item.src }}"
|
||||||
dest: "{{ item.dest }}"
|
dest: "{{ item.dest }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue