Merge pull request 'chore 📦: Update log2ram version to 1.7.2 and add dynamic versioning in ram.yml' (#40) from dev into main
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 12s
Markdown Lint / markdown-lint (push) Successful in 6s
Gitleaks Scan / gitleaks (push) Successful in 4s

Reviewed-on: #40
This commit was merged in pull request #40.
This commit is contained in:
2026-02-16 18:50:07 +01:00
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