Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit b8386a1

Browse files
authored
Merge pull request #1052 from muued/patch-5
Use ansible-galaxy during updates
2 parents a262a82 + 61534fb commit b8386a1

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

docs/administration.rst

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -149,22 +149,15 @@ Ansible Route
149149

150150
Most of the update process is automated when using the ansible role.
151151

152-
1. Backup your defined role variables file outside the paperless source-tree:
152+
1. Update the role to the target release tag to make sure the ansible scripts are compatible:
153153

154154
.. code:: shell-session
155155
156-
$ cp ansible/vars.yml ~/vars.yml.old
156+
$ ansible-galaxy install git+https://github.com/jonaswinkler/paperless-ng.git,master --force
157157
158-
2. Pull the release tag you want to update to:
158+
2. Update the role variable definitions ``vars/paperless-ng.yml`` (where appropriate).
159159

160-
.. code:: shell-session
161-
162-
$ git fetch --all
163-
$ git checkout ng-0.9.14
164-
165-
3. Update the role variable definitions ``ansible/vars.yml`` (where appropriate).
166-
167-
4. Run the ansible playbook you created created during :ref:`installation <setup-ansible>` again:
160+
3. Run the ansible playbook you created created during :ref:`installation <setup-ansible>` again:
168161

169162
.. note::
170163

0 commit comments

Comments
 (0)