Logo
Explore Help
Sign In
Jose/ansible_role_proxmox_provision
1
0
Fork 0
You've already forked ansible_role_proxmox_provision
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
main
ansible_role_proxmox_provision/tasks/kernel.yml

15 lines
462 B
YAML
Raw Permalink Normal View History

feat ✨: Add task to configure kernel panic behavior and auto-reboot This commit introduces two new tasks in the `kernel.yml` file: one to configure the kernel panic behavior and another for enabling automatic reboot on kernel panic. These enhancements improve system reliability by ensuring that the system can recover from critical errors more effectively.
2026-02-15 08:30:32 +01:00
---
# -------------------------------------------------
# Configure kernel panic behavior
# -------------------------------------------------
- name: kernel | Configure kernel panic auto-reboot
refactor ♻️: Refactor kernel panic configuration with ansible.posix.sysctl for better management and readability This refactoring involves updating the kernel panic configuration management to utilize the `ansible.posix.sysctl` module. This change enhances the clarity and maintainability of the code by providing a more structured approach to handling system settings.
2026-02-15 08:36:22 +01:00
ansible.posix.sysctl:
name: "{{ item.key }}"
value: "{{ item.value }}"
state: present
sysctl_file: /etc/sysctl.d/99-kernelpanic.conf
reload: yes
loop:
- { key: 'kernel.panic', value: '10' }
- { key: 'kernel.panic_on_oops', value: '1' }
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 47ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API