mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
permissions for metadata.db
This commit is contained in:
parent
56f54dc70f
commit
20fd831130
1 changed files with 6 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
file:
|
||||
path: "{{ calibre_dbpath }}"
|
||||
state: directory
|
||||
mode: 0666
|
||||
mode: 0755
|
||||
|
||||
- name: Check if sample book exists in /opt/iiab/downloads
|
||||
stat:
|
||||
|
@ -23,3 +23,8 @@
|
|||
- name: Incorporate sample book into Calibre DB (mandatory since Calibre 3.x)
|
||||
shell: "calibredb add {{ content_base }}/downloads/{{ calibre_sample_book }} --with-library {{ calibre_dbpath }}"
|
||||
when: sample_bk.stat.exists and not calibre_db.stat.exists
|
||||
|
||||
- name: Setting permissions on /library/calibre/metadata.db
|
||||
file:
|
||||
path: "{{ calibre_dbpath }}/metadata.db"
|
||||
mode: 0666
|
||||
|
|
Loading…
Reference in a new issue