Compare commits

...

3 Commits

Author SHA1 Message Date
de3996172a docs: update readme 2025-11-16 17:44:58 +01:00
8a08b6c760 feat: checksum verification for downloaded archive 2025-11-16 17:44:49 +01:00
7ac2ba401c feat: add checksum default "" 2025-11-16 17:44:11 +01:00
3 changed files with 3 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ This role doesn't have any dependencies to other roles.
| `freshrss_path` | No | `{{ freshrss_root_dir }}/freshrss` | Web-accessible path where FreshRSS will be symlinked |
| `freshrss_version` | **Yes** | - | FreshRSS version to deploy (e.g., `"1.27.1"`) |
| `freshrss_refresh_interval` | **Yes** | - | Feed refresh interval in minutes (e.g., `15` = every 15 minutes) |
| `freshrss_checksum` | No | `""` | SHA256 checksum to verify the archive if user sets it |
## Addititional information

View File

@@ -1,3 +1,3 @@
---
freshrss_path: "{{ freshrss_root_dir }}/freshrss"
freshrss_checksum: ""

View File

@@ -9,6 +9,7 @@
url: https://github.com/FreshRSS/FreshRSS/archive/refs/tags/{{ freshrss_version }}.tar.gz
dest: "{{ freshrss_root_dir }}/freshrss-{{ freshrss_version }}.tar.gz"
mode: '0644'
checksum: "{{ freshrss_checksum if (freshrss_checksum | length > 0) else omit }}"
when: not freshrss_dir.stat.exists
- name: Uncompress FreshRSS