feat : Add variable log2ram_host_memtotal_mb for storing host memory total in MB #37

Merged
Jose merged 1 commits from dev into main 2026-02-16 17:58:40 +01:00
Owner

Introduce a new variable to store the total memory of the host in megabytes, enhancing memory management and resource allocation within the system.

Introduce a new variable to store the total memory of the host in megabytes, enhancing memory management and resource allocation within the system.
Jose added 1 commit 2026-02-16 17:57:41 +01:00
feat : Add variable log2ram_host_memtotal_mb for storing host memory total in MB
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 12s
Gitleaks Scan / gitleaks (push) Successful in 4s
Markdown Lint / markdown-lint (push) Successful in 5s
ai-reviews / Review PR (pull_request) Successful in 4s
PR check / Gitleaks (pull_request) Successful in 5s
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 1s
d10d80803b
Introduce a new variable to store the total memory of the host in megabytes, enhancing memory management and resource allocation within the system.
gitea-actions bot reviewed 2026-02-16 17:57:53 +01:00
gitea-actions bot left a comment

Review Summary

  • defaults/main.yml: Changes Summary: This change adds a new configuration for log2ram_host_memtotal_mb which sets it to the total memory size in MB of the host. This seems like a reasonable adjustment to dynamically set memory usage limit for log2ram based on the host's actual RAM, but I would suggest adding a comment explaining why this change was made and how it impacts the system.
# Review Summary * **defaults/main.yml**: **Changes Summary:** This change adds a new configuration for `log2ram_host_memtotal_mb` which sets it to the total memory size in MB of the host. This seems like a reasonable adjustment to dynamically set memory usage limit for log2ram based on the host's actual RAM, but I would suggest adding a comment explaining why this change was made and how it impacts the system.

[Score: 3] This change dynamically sets the log2ram memory usage limit based on the host's actual RAM. Consider adding a comment explaining why this change was made and how it impacts the system for future maintenance purposes.

[Score: 3] This change dynamically sets the log2ram memory usage limit based on the host's actual RAM. Consider adding a comment explaining why this change was made and how it impacts the system for future maintenance purposes.
gitea-actions bot added the ci-pass label 2026-02-16 17:58:19 +01:00
Jose merged commit 1929ad13af into main 2026-02-16 17:58:40 +01:00
Sign in to join this conversation.