Merge branch 'master' into dev

This commit is contained in:
jonaswinkler 2021-05-09 16:22:21 +02:00
commit b89b51b121
4 changed files with 15 additions and 17 deletions

View File

@ -460,6 +460,7 @@ Install Paperless using ansible
.. note:: .. note::
This role currently only supports Debian 10 Buster and Ubuntu 20.04 Focal or later as target hosts. This role currently only supports Debian 10 Buster and Ubuntu 20.04 Focal or later as target hosts.
Additionally, only i386 or amd64 based hosts are supported right now, i.e. installation on arm hosts will fail.
1. Install ansible 2.7+ on the management node. 1. Install ansible 2.7+ on the management node.
This may be the target host paperless-ng is being installed on or any remote host which can access the target host. This may be the target host paperless-ng is being installed on or any remote host which can access the target host.
@ -485,29 +486,22 @@ Install Paperless using ansible
ansible -m ping YourAnsibleTargetHostGoesHere ansible -m ping YourAnsibleTargetHostGoesHere
2. Clone the repository of paperless-ng: 2. Install the latest tag of the ansible role using ansible-galaxy
.. code:: sh .. code:: sh
git clone https://github.com/jonaswinkler/paperless-ng ansible-galaxy install git+https://github.com/jonaswinkler/paperless-ng.git,ng-1.4.2
Checkout the latest release tag: 3. Create an ansible ``playbook.yml`` in a directory of your choice:
.. code:: sh
cd paperless-ng
git checkout ng-1.0.0
3. Create an ansible ``playbook.yml`` in the paperless-ng root directory:
.. code:: yaml .. code:: yaml
- hosts: YourAnsibleTargetHostGoesHere - hosts: YourAnsibleTargetHostGoesHere
become: yes become: yes
vars_files: vars_files:
- ansible/vars.yml - vars/paperless-ng.yml
roles: roles:
- ansible - paperless-ng
Optional: If you also want to use PostgreSQL on the target system, install and add (for example) the `geerlingguy.postgresql <https://github.com/geerlingguy/ansible-role-postgresql>`_ role: Optional: If you also want to use PostgreSQL on the target system, install and add (for example) the `geerlingguy.postgresql <https://github.com/geerlingguy/ansible-role-postgresql>`_ role:
@ -520,10 +514,10 @@ Install Paperless using ansible
- hosts: YourAnsibleTargetHostGoesHere - hosts: YourAnsibleTargetHostGoesHere
become: yes become: yes
vars_files: vars_files:
- ansible/vars.yml - vars/paperless-ng.yml
roles: roles:
- geerlingguy.postgresql - geerlingguy.postgresql
- ansible - paperless-ng
Optional: If you also want to use a reverse proxy on the target system, install and add (for example) the `geerlingguy.nginx <https://github.com/geerlingguy/ansible-role-nginx>`_ role: Optional: If you also want to use a reverse proxy on the target system, install and add (for example) the `geerlingguy.nginx <https://github.com/geerlingguy/ansible-role-nginx>`_ role:
@ -536,13 +530,13 @@ Install Paperless using ansible
- hosts: YourAnsibleTargetHostGoesHere - hosts: YourAnsibleTargetHostGoesHere
become: yes become: yes
vars_files: vars_files:
- ansible/vars.yml - vars/paperless-ng.yml
roles: roles:
- geerlingguy.postgresql - geerlingguy.postgresql
- ansible - paperless-ng
- geerlingguy.nginx - geerlingguy.nginx
4. Create ``ansible/vars.yml`` to configure your ansible deployment: 4. Create ``vars/paperless-ng.yml`` to configure your ansible deployment:
.. code:: yaml .. code:: yaml

View File

@ -12,6 +12,7 @@
<meta name="username" content="{{username}}"> <meta name="username" content="{{username}}">
<meta name="full_name" content="{{full_name}}"> <meta name="full_name" content="{{full_name}}">
<meta name="cookie_prefix" content="{{cookie_prefix}}"> <meta name="cookie_prefix" content="{{cookie_prefix}}">
<meta name="robots" content="noindex,nofollow">
<link rel="icon" type="image/x-icon" href="favicon.ico"> <link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="manifest" href="{% static webmanifest %}"> <link rel="manifest" href="{% static webmanifest %}">
<link rel="stylesheet" href="{% static styles_css %}"> <link rel="stylesheet" href="{% static styles_css %}">

View File

@ -10,6 +10,7 @@
<meta name="description" content=""> <meta name="description" content="">
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<meta name="generator" content="Jekyll v4.1.1"> <meta name="generator" content="Jekyll v4.1.1">
<meta name="robots" content="noindex,nofollow">
<title>{% translate "Paperless-ng signed out" %}</title> <title>{% translate "Paperless-ng signed out" %}</title>
<!-- Bootstrap core CSS --> <!-- Bootstrap core CSS -->

View File

@ -10,6 +10,8 @@
<meta name="description" content=""> <meta name="description" content="">
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<meta name="generator" content="Jekyll v4.1.1"> <meta name="generator" content="Jekyll v4.1.1">
<meta name="robots" content="noindex,nofollow">
<title>{% translate "Paperless-ng sign in" %}</title> <title>{% translate "Paperless-ng sign in" %}</title>
<!-- Bootstrap core CSS --> <!-- Bootstrap core CSS -->