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
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:
@@ -38,6 +38,7 @@ log2ram_ram_percent: 10
|
|||||||
log2ram_min_size_mb: 128
|
log2ram_min_size_mb: 128
|
||||||
log2ram_max_size_mb: 1024
|
log2ram_max_size_mb: 1024
|
||||||
log2ram_host_memtotal_mb: "{{ ansible_memtotal_mb }}"
|
log2ram_host_memtotal_mb: "{{ ansible_memtotal_mb }}"
|
||||||
|
log2ram_version: "1.7.2"
|
||||||
|
|
||||||
# Journald RAM usage limit
|
# Journald RAM usage limit
|
||||||
journald_runtime_max_use: "100M"
|
journald_runtime_max_use: "100M"
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
- name: ram | Download log2ram
|
- name: ram | Download log2ram
|
||||||
ansible.builtin.get_url:
|
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
|
dest: /tmp/log2ram.tar.gz
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
register: download_archive
|
register: download_archive
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
- name: ram | Install log2ram
|
- name: ram | Install log2ram
|
||||||
ansible.builtin.command: bash install.sh
|
ansible.builtin.command: bash install.sh
|
||||||
args:
|
args:
|
||||||
chdir: "/tmp/log2ram-master"
|
chdir: "/tmp/log2ram-{{ log2ram_version }}"
|
||||||
# 'creates' makes the command idempotent by checking for the binary
|
# 'creates' makes the command idempotent by checking for the binary
|
||||||
creates: /usr/local/bin/log2ram
|
creates: /usr/local/bin/log2ram
|
||||||
notify: Restart log2ram
|
notify: Restart log2ram
|
||||||
|
|||||||
Reference in New Issue
Block a user