Jonas Winkler
06d3f8aa07
Merge pull request #367 from C0nsultant/ansible-verifyupdates
...
Ansible - Verify that updates between versions work
2021-01-19 16:53:49 +01:00
Fabian Koller
e1d903a6df
molecule scenario to test upgrading from releases
...
Provide a separate scenario to install the last release, then update to
the current one.
Also includes improved deployment verification (check if uploading a
.txt through the API works).
2021-01-18 22:51:40 +01:00
Fabian Koller
88ad813bc6
Make update ansible role paths explicit
2021-01-18 22:51:40 +01:00
Jonas Winkler
0a9adfdc34
Merge pull request #355 from C0nsultant/ansible-documentation
...
Ansible - Provide documentation
2021-01-16 14:30:07 +01:00
Fabian Koller
9832215d49
Update ansible README.md
2021-01-14 21:50:07 +01:00
Fabian Koller
690b22c489
Update to 0.9.14
2021-01-14 21:23:44 +01:00
Fabian Koller
f0b2dbbe94
Update to 0.9.13
2021-01-09 11:52:39 +01:00
Fabian Koller
b436102a72
Deploy role to ansible galaxy
...
Happens only when a new tag is pushed
2021-01-04 06:42:34 +01:00
Fabian Koller
cbfd106293
Update to 0.9.11
2020-12-31 11:47:54 +01:00
Fabian Koller
0a66b9ff8c
Change default OCRmyPDF args
...
Clean is hardcoded as True, anyway
Deskew breaks tesseract redo
2020-12-31 10:01:57 +01:00
Fabian Koller
61e6819b33
Update to 0.9.10
2020-12-31 09:53:29 +01:00
Fabian Koller
6b16307636
Fix creation of user arg
...
json.loads is picky in that is expects true json, not yaml from ansible
2020-12-29 23:54:22 +01:00
Fabian Koller
4d07690890
Harden systemd service files, drop perms further
2020-12-29 23:30:59 +01:00
Fabian Koller
ce8c968c79
Integrate OCRmyPDF args into ansible config
2020-12-29 22:43:52 +01:00
Fabian Koller
f1bd6f1a4c
Move paperless.conf to /etc, drop permissions
2020-12-29 21:55:59 +01:00
Fabian Koller
dd3d55c6b9
Make role compatible with ansible 2.7
...
Recursive remote copy is supported starting with 2.8 only
Indentation behaviour in literal yaml strings seems to have changed
Regex logic for ImageMagic was flawed (no idea why this worked before)
2020-12-29 20:59:49 +01:00
Fabian Koller
39dc72b36d
Verify role for Ubuntu 20.04
2020-12-28 12:51:49 +01:00
Fabian Koller
c9d90d8ae0
Add molecule test for role
...
Only test default installation with jbig2enc and sqlite
2020-12-28 11:28:19 +01:00
Fabian Koller
2b761cb3c6
Drop all permissions to paperlessng user
...
Also make role idempotent
2020-12-28 11:18:24 +01:00
Fabian Koller
36ac1eeb57
Do not clear static files on every run
...
Django collectstatic knows when files change.
2020-12-23 14:05:35 +01:00
Fabian Koller
76e95d75f8
Fix fresh installation
...
We can't backup a nonexistent folder.
2020-12-23 13:39:16 +01:00
Fabian Koller
f4e2c46d92
Allow running role on all Debian releases
...
Dynamically template current release string where required.
2020-12-23 13:31:30 +01:00
Fabian Koller
093c4f1b96
Update to 0.9.9
2020-12-22 19:30:53 +01:00
Fabian Koller
43ad2e59b1
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