1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Copy xklb-metadata to calibreweb_home

This commit is contained in:
Blondel MONDESIR 2024-09-25 10:34:12 -04:00 committed by GitHub
parent dd8d89cf61
commit d0b55d8726
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -176,7 +176,22 @@
backup: yes
when: not appdb.stat.exists
name: Does /library/calibre-web/xklb-metadata.db exist?
stat:
path: /library/calibre-web/xklb-metadata.db
register: xklbmetadatadb
- name: Provision/Copy xklb-metadata.db into {{ calibreweb_home }} IF xklb-metadata.db did not exist
copy:
src: "{{ item }}"
dest: "{{ calibreweb_home }}" # /library/calibre-web
owner: "{{ calibreweb_user }}" # root
group: "{{ apache_user }}" # www-data on debuntu
backup: yes
with_items:
- roles/calibre-web/files/xklb-metadata.db
when: not xklbmetadatadb.stat.exists
# RECORD Calibre-Web AS INSTALLED
- name: Record (final) disk space used