updated rainloop state

This commit is contained in:
Paul 2022-10-10 10:16:24 +02:00
parent ebae0f1b51
commit 1a2e8b109f
2 changed files with 5 additions and 4 deletions

View File

@ -3,6 +3,7 @@ rainloop:
enabled: true
install_dir: /usr/local/apps
release_dir: /usr/local/apps/releases
release_filename: rainloop-legacy
mirror: https://github.com/RainLoop/rainloop-webmail/releases/download
version: 1.14.0
data_dir: /var/lib/rainloop

View File

@ -2,17 +2,17 @@
{%- from "rainloop/map.jinja" import rainloop with context %}
rainloop-archive-extract:
archive.extracted:
- name: {{ rainloop.release_dir }}/rainloop-community-{{ rainloop.version }}
- source: {{ rainloop.mirror }}/v{{ rainloop.version }}/rainloop-community-{{ rainloop.version }}.zip
- name: {{ rainloop.release_dir }}/{{ rainloop.release_filename }}-{{ rainloop.version }}
- source: {{ rainloop.mirror }}/v{{ rainloop.version }}/{{ rainloop.release_filename }}-{{ rainloop.version }}.zip
- skip_verify: true
- enforce_toplevel: false
- user: {{ rainloop.user }}
- group: {{ rainloop.group }}
- if_missing: {{ rainloop.release_dir }}/rainloop-community-{{ rainloop.version }}
- if_missing: {{ rainloop.release_dir }}/{{ rainloop.release_filename }}-{{ rainloop.version }}
rainloop-archive-symlink:
file.symlink:
- name: {{ rainloop.install_dir }}/rainloop
- target: {{ rainloop.release_dir }}/rainloop-community-{{ rainloop.version }}
- target: {{ rainloop.release_dir }}/{{ rainloop.release_filename }}-{{ rainloop.version }}
- require:
- archive: rainloop-archive-extract