57 Commits

Author SHA1 Message Date
Fabian Koller
1276419ec6
Add molecule test for role
Only test default installation with jbig2enc and sqlite
2020-12-28 11:28:19 +01:00
Fabian Koller
ef9631ae24
Drop all permissions to paperlessng user
Also make role idempotent
2020-12-28 11:18:24 +01:00
Fabian Koller
227934a7f0
Do not clear static files on every run
Django collectstatic knows when files change.
2020-12-23 14:05:35 +01:00
Fabian Koller
089a8c0498
Fix fresh installation
We can't backup a nonexistent folder.
2020-12-23 13:39:16 +01:00
Fabian Koller
92fa978735
Allow running role on all Debian releases
Dynamically template current release string where required.
2020-12-23 13:31:30 +01:00
Fabian Koller
e48294a74b
Update to 0.9.9 2020-12-22 19:30:53 +01:00
Fabian Koller
50c5a23de8
add basic ansible role for debian deployment
Currently only Debian 10 buster is supported.
Other Debian versions, Ubuntu and derivates should be easy to integrate.
Database deployment is considered out-of-scope and deferred to the user.
Provides basic upgrade support between releases.
2020-12-22 18:47:02 +01:00