diff --git a/infra/ansible/playbook.yml b/infra/ansible/playbook.yml index 26dd292..8c0f855 100644 --- a/infra/ansible/playbook.yml +++ b/infra/ansible/playbook.yml @@ -544,10 +544,11 @@ docker compose exec -T kobodl kobodl --config /home/config/kobodl.json book get --get-all --output-dir /downloads # Import any new EPUBs into Calibre library + # Files are kept in /downloads so kobodl can skip them next run docker compose exec -T --user abc calibre-web sh -c ' for f in /downloads/*.epub; do [ -f "$f" ] || continue - calibredb add "$f" --with-library /library/ && rm "$f" + calibredb add "$f" --with-library /library/ || true done ' tags: calibre