arillso.system.tuning role – Apply system performance tuning configurations
Note
This role is part of the arillso.system collection (version 1.0.5).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it use: ansible-galaxy collection install arillso.system.
To use it in a playbook, specify: arillso.system.tuning.
Entry point main – Apply system performance tuning configurations
Synopsis
This role configures system-level performance tuning including sysctl parameters, network tuning, I/O schedulers, CPU governors, and security limits for optimized server performance.
Parameters
Parameter |
Comments |
|---|---|
CPU governor to use. Set to ‘auto’ for automatic detection based on CPU type. Default: |
|
Override automatic CPU governor detection |
|
Kernel parameters to append to GRUB configuration Default: |
|
I/O scheduler to use. Set to ‘auto’ for automatic detection based on storage type. Default: |
|
Override automatic I/O scheduler detection |
|
Additional network-specific sysctl parameters Default: |
|
Path to network sysctl configuration file Default: |
|
Enable network-specific tuning Choices:
|
|
List of security limit configurations. Each entry requires: domain, type, item, value. Default: |
|
Enable swap file creation Choices:
|
|
Path to swap file Default: |
|
Swap file size in megabytes Default: |
|
Swappiness value (0-100, lower = less swap usage) Default: |
|
Dictionary of sysctl parameters for performance tuning. Includes VM, network, filesystem, and kernel tuning. Default: |
|
Path to sysctl configuration file Default: |
|
Transparent Huge Pages configuration Choices:
|
|
Tuned profile to apply Default: |
|
Validate settings before applying Choices:
|