Simplify molecule tests

"Upgrade" path includes multiple paths anyway:
- installing the latest official release package
- builing the current PR from source
- upgrading between the two versions
This commit is contained in:
Fabian Koller
2021-01-23 22:09:56 +01:00
parent 0d19957d4b
commit bfbdfe857f
9 changed files with 100 additions and 195 deletions

View File

@@ -0,0 +1,10 @@
---
- name: update previous release to newest release
hosts: all
tasks:
- name: set github ref as version when available
set_fact:
paperlessng_version: "{{ lookup('env', 'GITHUB_REF') | default('latest', True) }}"
- name: update to newest paperless-ng release
include_role:
name: ansible