Execution
Date
18 Dec 2025 11:06:21 +0000
Duration
00:17:13.55
Controller
ssh-gw-4.layershift.com
User
root
Versions
Ansible
2.16.11
ara
1.7.3 / 1.7.3
Python
3.10.10
Summary
325
Hosts
1
Tasks
325
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusOK
-
Duration00:05:26.35
-
PlayPlaybook to install and config tuned on VMs
-
TaskInstall
-
Date18 Dec 2025 11:22:44 +0000
-
Module / Actionansible.builtin.shell (/home/ssh-gateway/ansible/kuly/RM10126-VM-tuned-install.yaml:6)
| Field | Value |
|---|---|
| changed |
False |
| cmd |
set -o pipefail dnf clean all dnf -y install tuned systemctl enable --now tuned.service sed -i 's/vm.swappiness=0/# vm.swappiness=0/g' /etc/sysctl.conf mkdir -p /etc/tuned/ls-vm-tweaks/ mv /etc/tuned/ls-vm-tweaks/tuned.conf /etc/tuned/ls-vm-tweaks/tuned.conf-bak-$(date +%s) cat > /etc/tuned/ls-vm-tweaks/tuned.conf << EOF [main] summary=LS VM optimized profile [sysctl] vm.dirty_ratio = 30 vm.dirty_background_ratio = 10 vm.swappiness = 1 vm.force_cgroup_v2_swappiness = 1 net.core.somaxconn = 4096 net.ipv6.ip_nonlocal_bind = 1 [scheduler] runtime=0 sched_min_granularity_ns = 10000000 sched_wakeup_granularity_ns = 15000000 EOF tuned-adm off tuned-adm profile ls-vm-tweaks tuned-adm active | grep ls-vm-tweaks && echo "Profile ls-vm-tweaks is active" || echo "Profile ls-vm-tweaks is not active" |
| delta |
0:03:51.865219 |
| end |
2025-12-18 11:21:12.066929 |
| invocation |
{ "module_args": { "_raw_params": "set -o pipefail\ndnf clean all\ndnf -y install tuned\nsystemctl enable --now tuned.service\nsed -i 's/vm.swappiness=0/# vm.swappiness=0/g' /etc/sysctl.conf\nmkdir -p /etc/tuned/ls-vm-tweaks/\nmv /etc/tuned/ls-vm-tweaks/tuned.conf /etc/tuned/ls-vm-tweaks/tuned.conf-bak-$(date +%s)\ncat > /etc/tuned/ls-vm-tweaks/tuned.conf << EOF\n[main]\nsummary=LS VM optimized profile\n\n[sysctl]\nvm.dirty_ratio = 30\nvm.dirty_background_ratio = 10\nvm.swappiness = 1\nvm.force_cgroup_v2_swappiness = 1\nnet.core.somaxconn = 4096\nnet.ipv6.ip_nonlocal_bind = 1\n\n[scheduler]\nruntime=0\nsched_min_granularity_ns = 10000000\nsched_wakeup_granularity_ns = 15000000\nEOF\ntuned-adm off\ntuned-adm profile ls-vm-tweaks\ntuned-adm active | grep ls-vm-tweaks && echo \"Profile ls-vm-tweaks is active\" || echo \"Profile ls-vm-tweaks is not active\"\n", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": "/bin/bash", "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } } |
| msg |
|
| rc |
0 |
| start |
2025-12-18 11:17:20.201710 |
| stderr |
|
| stderr_lines |
[]
|
| stdout |
82 files removed PowerDNS repository for PowerDNS Authoritative 1.9 kB/s | 20 kB 00:10 PowerDNS repository for PowerDNS Recursor - ver 432 B/s | 4.4 kB 00:10 AlmaLinux 8 - BaseOS 2.4 MB/s | 51 MB 00:21 AlmaLinux 8 - AppStream 1.3 MB/s | 23 MB 00:17 AlmaLinux 8 - Extras 882 B/s | 14 kB 00:15 AlmaLinux 8 - PowerTools 321 kB/s | 5.1 MB 00:16 ClickHouse - Stable Repository 39 kB/s | 627 kB 00:15 Extra Packages for Enterprise Linux 8 - x86_64 848 kB/s | 14 MB 00:17 grafana 4.6 MB/s | 75 MB 00:16 kernelcare 886 B/s | 9.1 kB 00:10 Layershift AlmaLinux repository 3.7 kB/s | 40 kB 00:10 nginx repo 7.7 kB/s | 89 kB 00:11 Package tuned-2.22.1-6.el8_10.noarch is already installed. Dependencies resolved. Nothing to do. Complete! Current active profile: ls-vm-tweaks Profile ls-vm-tweaks is active |
| stdout_lines |
[ "82 files removed", "PowerDNS repository for PowerDNS Authoritative 1.9 kB/s | 20 kB 00:10 ", "PowerDNS repository for PowerDNS Recursor - ver 432 B/s | 4.4 kB 00:10 ", "AlmaLinux 8 - BaseOS 2.4 MB/s | 51 MB 00:21 ", "AlmaLinux 8 - AppStream 1.3 MB/s | 23 MB 00:17 ", "AlmaLinux 8 - Extras 882 B/s | 14 kB 00:15 ", "AlmaLinux 8 - PowerTools 321 kB/s | 5.1 MB 00:16 ", "ClickHouse - Stable Repository 39 kB/s | 627 kB 00:15 ", "Extra Packages for Enterprise Linux 8 - x86_64 848 kB/s | 14 MB 00:17 ", "grafana 4.6 MB/s | 75 MB 00:16 ", "kernelcare 886 B/s | 9.1 kB 00:10 ", "Layershift AlmaLinux repository 3.7 kB/s | 40 kB 00:10 ", "nginx repo 7.7 kB/s | 89 kB 00:11 ", "Package tuned-2.22.1-6.el8_10.noarch is already installed.", "Dependencies resolved.", "Nothing to do.", "Complete!", "Current active profile: ls-vm-tweaks", "Profile ls-vm-tweaks is active" ] |