Files
ansible_role_proxmox_provision/defaults/main.yml
Jose 23376f81f7
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 14s
Gitleaks Scan / gitleaks (push) Successful in 5s
Markdown Lint / markdown-lint (push) Successful in 5s
ai-reviews / Review PR (pull_request) Successful in 31s
PR check / Gitleaks (pull_request) Successful in 4s
PR check / lint tests (pull_request) Successful in 15s
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
refactor ♻️: Refactor memory calculation logic
Removed unused variable and updated memory calculation to use ansible_memtotal_mb for more accurate results.
2026-02-15 17:37:36 +01:00

48 lines
1.0 KiB
YAML

---
# ansible_role_proxmox_provision/defaults/main.yml
# Default values for role variables
# ===================================
# Swap handling
proxmox_disable_swap: true
proxmox_swapiness: 10
proxmox_min_ram_mb_for_no_swap: 16384
# Powertop
proxmox_enable_powertop: true
# Logrotate
proxmox_logrotate_enabled: true
proxmox_logrotate_rotate: 4
proxmox_logrotate_maxsize: 100M
proxmox_logrotate_frequency: daily
proxmox_logrotate_compress: true
proxmox_logrotate_delaycompress: true
proxmox_logrotate_missingok: true
proxmox_logrotate_notifempty: true
# Destination override file
proxmox_logrotate_file: /etc/logrotate.d/99-proxmox-custom
# Default languages for APT translations
proxmox_apt_languages:
- "en"
- "es"
- "it"
# Percentage of total RAM to allocate to log2ram
log2ram_ram_percent: 10
log2ram_min_size_mb: 128
log2ram_max_size_mb: 1024
# Journald RAM usage limit
journald_runtime_max_use: "100M"
# VM write frequency tuning
vm_dirty_ratio: 15
vm_dirty_background_ratio: 5
vm_swappiness: "{{ proxmox_swapiness }}"