Stab at making kojipkgs squid smp
This commit is contained in:
parent
5f82e3ef86
commit
07f43d9071
3 changed files with 15 additions and 0 deletions
1
roles/kojipkgs/files/squid-tmpfiles
Normal file
1
roles/kojipkgs/files/squid-tmpfiles
Normal file
|
@ -0,0 +1 @@
|
||||||
|
D /var/run/squid 0755 squid squid -
|
|
@ -78,3 +78,9 @@ cache allow kojipkgs
|
||||||
cache deny all
|
cache deny all
|
||||||
|
|
||||||
coredump_dir /var/spool/squid
|
coredump_dir /var/spool/squid
|
||||||
|
|
||||||
|
# put the pid in the tmpdir with worker ipc sockets
|
||||||
|
pid_filename /var/run/squid/squid.pid
|
||||||
|
|
||||||
|
# Run in smp mode with 8 workers
|
||||||
|
workers 8
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
#
|
||||||
|
# This is before squid is installed on initial setup so it runs on squid install
|
||||||
|
#
|
||||||
|
- name: add squid tmpfiles.d to make run dir for smp ipc sockets.
|
||||||
|
copy: src=squid-tmpfiles dest=/etc/tmpfiles.d/squid.conf owner=root group=root mode=644
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
- kojipkgs
|
||||||
|
|
||||||
- name: install squid server packages
|
- name: install squid server packages
|
||||||
yum: name={{ item }} state=present
|
yum: name={{ item }} state=present
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue