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 enabled: true
install_dir: /usr/local/apps install_dir: /usr/local/apps
release_dir: /usr/local/apps/releases release_dir: /usr/local/apps/releases
release_filename: rainloop-legacy
mirror: https://github.com/RainLoop/rainloop-webmail/releases/download mirror: https://github.com/RainLoop/rainloop-webmail/releases/download
version: 1.14.0 version: 1.14.0
data_dir: /var/lib/rainloop data_dir: /var/lib/rainloop

View File

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