flatpak-cache: squid systemd creates SSL DB for us
Signed-off-by: Leo Puvilland <leo@craftcat.dev>
This commit is contained in:
parent
9fecd9fd7c
commit
93735a7d35
1 changed files with 0 additions and 15 deletions
|
@ -52,21 +52,6 @@
|
||||||
- flatpak-cache
|
- flatpak-cache
|
||||||
- config
|
- config
|
||||||
|
|
||||||
- name: Check if /var/lib/squid/ssl_db/index.txt exists
|
|
||||||
stat:
|
|
||||||
path: /var/lib/squid/ssl_db/index.txt
|
|
||||||
register: index_txt_stat
|
|
||||||
tags:
|
|
||||||
- flatpak-cache
|
|
||||||
- config
|
|
||||||
|
|
||||||
- name: Generate SSL Database
|
|
||||||
command: /usr/lib64/squid/security_file_certgen -c -s /var/lib/squid/ssl_db -M 4096
|
|
||||||
when: not index_txt_stat.stat.exists
|
|
||||||
tags:
|
|
||||||
- flatpak-cache
|
|
||||||
- config
|
|
||||||
|
|
||||||
- name: Enable and start squid service
|
- name: Enable and start squid service
|
||||||
systemd_service:
|
systemd_service:
|
||||||
name: squid.service
|
name: squid.service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue