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


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:01:47.391293
end
2025-12-18 14:18:06.070001
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 14:16:18.678708
stderr
mv: cannot stat '/etc/tuned/ls-vm-tweaks/tuned.conf': No such file or directory
stderr_lines
[
    "mv: cannot stat '/etc/tuned/ls-vm-tweaks/tuned.conf': No such file or directory"
]
stdout
This system is receiving updates from CloudLinux Network server.
435 files removed
This system is receiving updates from CloudLinux Network server.
cloudlinux-x86_64-server-8                      126 MB/s | 106 MB     00:00    
AlmaLinux 8.10 - AppStream                       33 MB/s |  23 MB     00:00    
AlmaLinux 8.10 - BaseOS                          35 MB/s |  51 MB     00:01    
AlmaLinux 8.10 - PowerTools                      11 MB/s | 5.1 MB     00:00    
alt common Extended Lifecycle Support by TuxCar 1.3 MB/s | 718 kB     00:00    
CloudLinux-8 - Imunify360                        10 MB/s | 7.3 MB     00:00    
CloudLinux-8 - Gradual Rollout Slot 1           726 kB/s | 331 kB     00:00    
CloudLinux-8 - Gradual Rollout Slot 2           894  B/s | 257  B     00:00    
CloudLinux-8 - Gradual Rollout Slot 3            38 kB/s |  11 kB     00:00    
CloudLinux-8 - Gradual Rollout Slot 4           2.1 MB/s | 1.1 MB     00:00    
CloudLinux-8 - Gradual Rollout Slot 5           903  B/s | 257  B     00:00    
CloudLinux-8 - Gradual Rollout Slot 6           887  B/s | 257  B     00:00    
CloudLinux-8 - Gradual Rollout Slot 7           933  B/s | 257  B     00:00    
CloudLinux-8 - Gradual Rollout Slot 8           845  B/s | 257  B     00:00    
CloudLinux-8 - Gradual Rollout Slot 9           913  B/s | 257  B     00:00    
CloudLinux-8 - Gradual Rollout Slot 10          870  B/s | 257  B     00:00    
CloudLinux-8 - Gradual Rollout Slot 11          897  B/s | 257  B     00:00    
CloudLinux-8 - Gradual Rollout Slot 12          842  B/s | 257  B     00:00    
CloudLinux-8 - Gradual Rollout Slot 13          822  B/s | 257  B     00:00    
CloudLinux-8 - Gradual Rollout Slot 14          829  B/s | 257  B     00:00    
CloudLinux-8 - Gradual Rollout Slot 15          843  B/s | 257  B     00:00    
CloudLinux-8 - Gradual Rollout Slot 16          897  B/s | 257  B     00:00    
Extra Packages for Enterprise Linux 8 - x86_64   48 MB/s |  14 MB     00:00    
Imunify360 - Gradual Rollout Slot 5             800  B/s | 257  B     00:00    
Imunify360 - Gradual Rollout Slot               797  B/s | 257  B     00:00    
Imunify360 - Gradual Rollout Slot 7             672  B/s | 257  B     00:00    
Imunify360 - Gradual Rollout Slot 8             772  B/s | 257  B     00:00    
Imunify360 - Gradual Rollout Slot 1             785  B/s | 257  B     00:00    
Imunify360 - Gradual Rollout Slot 2              36 kB/s |  10 kB     00:00    
Imunify360 - Gradual Rollout Slot 3              22 kB/s | 7.2 kB     00:00    
Imunify360 - Gradual Rollout Slot 4              40 kB/s |  12 kB     00:00    
EL-8 - Imunify360                                10 MB/s | 7.3 MB     00:00    
kernelcare                                       17 kB/s | 9.1 kB     00:00    
Layershift AlmaLinux repository                 1.0 MB/s |  40 kB     00:00    
MariaDB                                         1.3 MB/s | 616 kB     00:00    
PLESK_18_0_74 extras                            2.1 MB/s | 155 kB     00:00    
PHP 7.4                                         434 kB/s |  20 kB     00:00    
PHP 8.1                                         562 kB/s |  19 kB     00:00    
PHP 8.2                                         498 kB/s |  19 kB     00:00    
PHP 8.3                                         375 kB/s |  19 kB     00:00    
grafana extension repository                    1.6 MB/s | 168 kB     00:00    
panel-migrator extension repository             599 kB/s |  48 kB     00:00    
site-import extension repository                573 kB/s |  48 kB     00:00    
watchdog extension repository                    39 kB/s | 1.2 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
[
    "This system is receiving updates from CloudLinux Network server.",
    "435 files removed",
    "This system is receiving updates from CloudLinux Network server.",
    "cloudlinux-x86_64-server-8                      126 MB/s | 106 MB     00:00    ",
    "AlmaLinux 8.10 - AppStream                       33 MB/s |  23 MB     00:00    ",
    "AlmaLinux 8.10 - BaseOS                          35 MB/s |  51 MB     00:01    ",
    "AlmaLinux 8.10 - PowerTools                      11 MB/s | 5.1 MB     00:00    ",
    "alt common Extended Lifecycle Support by TuxCar 1.3 MB/s | 718 kB     00:00    ",
    "CloudLinux-8 - Imunify360                        10 MB/s | 7.3 MB     00:00    ",
    "CloudLinux-8 - Gradual Rollout Slot 1           726 kB/s | 331 kB     00:00    ",
    "CloudLinux-8 - Gradual Rollout Slot 2           894  B/s | 257  B     00:00    ",
    "CloudLinux-8 - Gradual Rollout Slot 3            38 kB/s |  11 kB     00:00    ",
    "CloudLinux-8 - Gradual Rollout Slot 4           2.1 MB/s | 1.1 MB     00:00    ",
    "CloudLinux-8 - Gradual Rollout Slot 5           903  B/s | 257  B     00:00    ",
    "CloudLinux-8 - Gradual Rollout Slot 6           887  B/s | 257  B     00:00    ",
    "CloudLinux-8 - Gradual Rollout Slot 7           933  B/s | 257  B     00:00    ",
    "CloudLinux-8 - Gradual Rollout Slot 8           845  B/s | 257  B     00:00    ",
    "CloudLinux-8 - Gradual Rollout Slot 9           913  B/s | 257  B     00:00    ",
    "CloudLinux-8 - Gradual Rollout Slot 10          870  B/s | 257  B     00:00    ",
    "CloudLinux-8 - Gradual Rollout Slot 11          897  B/s | 257  B     00:00    ",
    "CloudLinux-8 - Gradual Rollout Slot 12          842  B/s | 257  B     00:00    ",
    "CloudLinux-8 - Gradual Rollout Slot 13          822  B/s | 257  B     00:00    ",
    "CloudLinux-8 - Gradual Rollout Slot 14          829  B/s | 257  B     00:00    ",
    "CloudLinux-8 - Gradual Rollout Slot 15          843  B/s | 257  B     00:00    ",
    "CloudLinux-8 - Gradual Rollout Slot 16          897  B/s | 257  B     00:00    ",
    "Extra Packages for Enterprise Linux 8 - x86_64   48 MB/s |  14 MB     00:00    ",
    "Imunify360 - Gradual Rollout Slot 5             800  B/s | 257  B     00:00    ",
    "Imunify360 - Gradual Rollout Slot               797  B/s | 257  B     00:00    ",
    "Imunify360 - Gradual Rollout Slot 7             672  B/s | 257  B     00:00    ",
    "Imunify360 - Gradual Rollout Slot 8             772  B/s | 257  B     00:00    ",
    "Imunify360 - Gradual Rollout Slot 1             785  B/s | 257  B     00:00    ",
    "Imunify360 - Gradual Rollout Slot 2              36 kB/s |  10 kB     00:00    ",
    "Imunify360 - Gradual Rollout Slot 3              22 kB/s | 7.2 kB     00:00    ",
    "Imunify360 - Gradual Rollout Slot 4              40 kB/s |  12 kB     00:00    ",
    "EL-8 - Imunify360                                10 MB/s | 7.3 MB     00:00    ",
    "kernelcare                                       17 kB/s | 9.1 kB     00:00    ",
    "Layershift AlmaLinux repository                 1.0 MB/s |  40 kB     00:00    ",
    "MariaDB                                         1.3 MB/s | 616 kB     00:00    ",
    "PLESK_18_0_74 extras                            2.1 MB/s | 155 kB     00:00    ",
    "PHP 7.4                                         434 kB/s |  20 kB     00:00    ",
    "PHP 8.1                                         562 kB/s |  19 kB     00:00    ",
    "PHP 8.2                                         498 kB/s |  19 kB     00:00    ",
    "PHP 8.3                                         375 kB/s |  19 kB     00:00    ",
    "grafana extension repository                    1.6 MB/s | 168 kB     00:00    ",
    "panel-migrator extension repository             599 kB/s |  48 kB     00:00    ",
    "site-import extension repository                573 kB/s |  48 kB     00:00    ",
    "watchdog extension repository                    39 kB/s | 1.2 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"
]