chore 📦: Update log2ram version to 1.7.2 and add dynamic versioning in ram.yml
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 12s
Gitleaks Scan / gitleaks (push) Successful in 5s
Markdown Lint / markdown-lint (push) Successful in 5s
ai-reviews / Review PR (pull_request) Successful in 13s
PR check / Gitleaks (pull_request) Successful in 4s
PR check / lint tests (pull_request) Successful in 14s
PR check / labeler (pull_request) Successful in 2s
PR check / handle_failures (pull_request) Has been skipped
PR check / handle_success (pull_request) Successful in 2s

This commit updates the log2ram version to 1.7.2 and introduces dynamic versioning in the `ram.yml` file. This ensures that the log2ram version is always up-to-date with the latest release.
This commit is contained in:
2026-02-16 18:48:47 +01:00
parent 06834ae66b
commit 6e44de23e9
2 changed files with 3 additions and 2 deletions

View File

@@ -38,6 +38,7 @@ log2ram_ram_percent: 10
log2ram_min_size_mb: 128
log2ram_max_size_mb: 1024
log2ram_host_memtotal_mb: "{{ ansible_memtotal_mb }}"
log2ram_version: "1.7.2"
# Journald RAM usage limit
journald_runtime_max_use: "100M"

View File

@@ -39,7 +39,7 @@
- name: ram | Download log2ram
ansible.builtin.get_url:
url: https://github.com/azlux/log2ram/archive/refs/tags/1.7.2.tar.gz
url: https://github.com/azlux/log2ram/archive/refs/tags/{{ log2ram_version }}.tar.gz
dest: /tmp/log2ram.tar.gz
mode: '0644'
register: download_archive
@@ -56,7 +56,7 @@
- name: ram | Install log2ram
ansible.builtin.command: bash install.sh
args:
chdir: "/tmp/log2ram-master"
chdir: "/tmp/log2ram-{{ log2ram_version }}"
# 'creates' makes the command idempotent by checking for the binary
creates: /usr/local/bin/log2ram
notify: Restart log2ram