mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-11 10:32:27 +08:00
copr: move pulp-redirect file to persistent storage
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
- name: Create a txt file with Pulp redirects
|
||||
file:
|
||||
state: touch
|
||||
dest: /var/lib/copr/pulp-redirect.txt
|
||||
dest: /var/lib/copr/public_html/pulp-redirect.txt
|
||||
owner: copr
|
||||
group: copr
|
||||
mode: "644"
|
||||
|
||||
@@ -5,7 +5,7 @@ pulp_content_url = "{{ pulp_content_url }}"
|
||||
-- SQLite claims to be 35% faster than reading blobs from filesystem
|
||||
-- https://www.sqlite.org/fasterthanfs.html
|
||||
-- Worth trying out once we hit a bottleneck for reading the file
|
||||
file_with_redirects = "/var/lib/copr/pulp-redirect.txt"
|
||||
file_with_redirects = "/var/lib/copr/public_html/pulp-redirect.txt"
|
||||
|
||||
|
||||
function line_in_file(searched, file)
|
||||
|
||||
Reference in New Issue
Block a user