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:
parent
dd8d89cf61
commit
d0b55d8726
1 changed files with 15 additions and 0 deletions
|
@ -176,6 +176,21 @@
|
|||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue