Execution
Date 02 Dec 2025 14:00:38 +0000
Duration 00:01:47.51
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
12 Hosts
1 Tasks
12 Results
1 Plays
1 Files
0 Records

Task result details


Field Value
ansible_facts
{
    "discovered_interpreter_python": "/usr/libexec/platform-python"
}
changed
False
cmd
set -o pipefail
dnf clean all
dnf -y install tuned
systemctl enable --now tuned.service
mkdir -p /etc/tuned/ls-vm-tweaks/
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

[scheduler]
runtime=0
sched_min_granularity_ns = 10000000
sched_wakeup_granularity_ns = 15000000
EOF
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:00:40.725490
end
2025-12-02 14:01:20.549992
invocation
{
    "module_args": {
        "_raw_params": "set -o pipefail\ndnf clean all\ndnf -y install tuned\nsystemctl enable --now tuned.service\nmkdir -p /etc/tuned/ls-vm-tweaks/\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\n\n[scheduler]\nruntime=0\nsched_min_granularity_ns = 10000000\nsched_wakeup_granularity_ns = 15000000\nEOF\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-02 14:00:39.824502
stderr

stderr_lines
[]
stdout
68 files removed
PowerDNS repository for PowerDNS Authoritative  643 kB/s |  44 kB     00:00    
PowerDNS repository for PowerDNS Recursor - ver 101 kB/s | 5.9 kB     00:00    
AlmaLinux 8 - BaseOS                             20 MB/s |  49 MB     00:02    
AlmaLinux 8 - AppStream                          11 MB/s |  22 MB     00:01    
AlmaLinux 8 - Extras                             22 kB/s |  14 kB     00:00    
AlmaLinux 8 - PowerTools                        4.3 MB/s | 5.1 MB     00:01    
Extra Packages for Enterprise Linux 8 - x86_64   32 MB/s |  14 MB     00:00    
kernelcare                                       30 kB/s | 9.1 kB     00:00    
Layershift AlmaLinux repository                 1.0 MB/s |  40 kB     00:00    
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
[
    "68 files removed",
    "PowerDNS repository for PowerDNS Authoritative  643 kB/s |  44 kB     00:00    ",
    "PowerDNS repository for PowerDNS Recursor - ver 101 kB/s | 5.9 kB     00:00    ",
    "AlmaLinux 8 - BaseOS                             20 MB/s |  49 MB     00:02    ",
    "AlmaLinux 8 - AppStream                          11 MB/s |  22 MB     00:01    ",
    "AlmaLinux 8 - Extras                             22 kB/s |  14 kB     00:00    ",
    "AlmaLinux 8 - PowerTools                        4.3 MB/s | 5.1 MB     00:01    ",
    "Extra Packages for Enterprise Linux 8 - x86_64   32 MB/s |  14 MB     00:00    ",
    "kernelcare                                       30 kB/s | 9.1 kB     00:00    ",
    "Layershift AlmaLinux repository                 1.0 MB/s |  40 kB     00:00    ",
    "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"
]