chore 📦: Update log2ram version to 1.7.2 and add dynamic versioning in ram.yml #40
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This commit updates the log2ram version to 1.7.2 and introduces dynamic versioning in the
ram.ymlfile. This ensures that the log2ram version is always up-to-date with the latest release.Review Summary
@@ -38,6 +38,7 @@ log2ram_ram_percent: 10log2ram_min_size_mb: 128log2ram_max_size_mb: 1024log2ram_host_memtotal_mb: "{{ ansible_memtotal_mb }}"log2ram_version: "1.7.2"[Score: 2] The version number is hardcoded. It's recommended to use variables or a configuration file for version control and easier updates.
@@ -40,3 +40,3 @@- name: ram | Download log2ramansible.builtin.get_url:url: https://github.com/azlux/log2ram/archive/refs/tags/1.7.2.tar.gzurl: https://github.com/azlux/log2ram/archive/refs/tags/{{ log2ram_version }}.tar.gz[Score: 2] The URL for downloading the package is dynamically generated based on the
log2ram_versionvariable, ensuring the installation uses the correct version of the package.