From 9ad81be38cc59f2f3ddd80f4ef3d5bf9658841f2 Mon Sep 17 00:00:00 2001 From: Fabian Ohler Date: Mon, 24 May 2021 15:10:41 +0200 Subject: [PATCH 1/2] adjust ansible README to installation instructions and fix some typos --- ansible/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ansible/README.md b/ansible/README.md index 0940cf072..2aa957817 100644 --- a/ansible/README.md +++ b/ansible/README.md @@ -12,16 +12,16 @@ Note that this role requires root access, so either run it in a playbook with a - hosts: all roles: - - role: ansible + - role: paperless-ng become: yes Role Variables -------------- Most configuration variables from paperless-ng itself are available and accept their respective arguments. -Every `PAPERLESS_*` configuration varaible is lowercased and instead prefixed with `paperlessng_*` in `defaults/main.yml`. +Every `PAPERLESS_*` configuration variable is lowercased and instead prefixed with `paperlessng_*` in `defaults/main.yml`. -For a full listing including explainations and allowed values, see the current [documentation](https://paperless-ng.readthedocs.io/en/ng-0.9.14/configuration.html). +For a full listing including explanations and allowed values, see the current [documentation](https://paperless-ng.readthedocs.io/en/latest/configuration.html). Additional variables available in this role are listed below, along with default values: @@ -32,7 +32,7 @@ The [release](https://github.com/jonaswinkler/paperless-ng/releases) archive ver paperlessng_redis_host: localhost paperlessng_redis_port: 6379 -Seperate configuration values that combine into `PAPERLESS_REDIS`. +Separate configuration values that combine into `PAPERLESS_REDIS`. paperlessng_db_type: sqlite @@ -96,11 +96,11 @@ Example Playbook - hosts: all become: yes vars_files: - - vars/main.yml + - vars/paperless-ng.yml roles: - - ansible + - paperless-ng -`vars/main.yml`: +`vars/paperless-ng.yml`: paperlessng_media_root: /mnt/media/smbshare From 10bf9fd1f8d51daf62168161c8d8b8ec4dc21918 Mon Sep 17 00:00:00 2001 From: Fabian Ohler Date: Wed, 26 May 2021 08:30:17 +0200 Subject: [PATCH 2/2] Adjusted paperlessng_version variable explanation --- ansible/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/README.md b/ansible/README.md index 2aa957817..8771cd08c 100644 --- a/ansible/README.md +++ b/ansible/README.md @@ -25,9 +25,11 @@ For a full listing including explanations and allowed values, see the current [d Additional variables available in this role are listed below, along with default values: - paperlessng_version: 0.9.14 + paperlessng_version: latest The [release](https://github.com/jonaswinkler/paperless-ng/releases) archive version of paperless-ng to install. +`latest` stands for the latest release of paperless-ng. +To install a specific version of paperless-ng, use the tag name of the release, e. g. `ng-1.4.4`, or specify a branch or commit id. paperlessng_redis_host: localhost paperlessng_redis_port: 6379