Execution
Date 06 Nov 2025 16:05:02 +0000
Duration 00:00:42.37
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
11 Hosts
1 Tasks
11 Results
1 Plays
1 Files
0 Records

Task result details

  • Status
    OK
  • Duration
    00:00:26.78
  • Play
    Playbook to install and config tuned on CRs
  • Task
    Install
  • Host
    kvm020

Field Value
ansible_facts
{
    "discovered_interpreter_python": "/usr/bin/python3"
}
changed
False
cmd
set -o pipefail
dnf clean all
dnf -y install tuned
systemctl enable --now tuned.service
mkdir -p /etc/tuned/ls-cr-tweaks/
cat > /etc/tuned/ls-cr-tweaks/tuned.conf << EOF
[main]
summary=LS optimized profile for COMPUTE RESOURCES

[sysctl]
vm.swappiness = 10

[scheduler]
runtime=0
sched_migration_cost_ns = 5000000
EOF
tuned-adm profile ls-cr-tweaks
delta
0:00:26.001352
end
2025-11-06 16:05:30.475894
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-cr-tweaks/\ncat > /etc/tuned/ls-cr-tweaks/tuned.conf << EOF\n[main]\nsummary=LS optimized profile for COMPUTE RESOURCES\n\n[sysctl]\nvm.swappiness = 10\n\n[scheduler]\nruntime=0\nsched_migration_cost_ns = 5000000\nEOF\ntuned-adm profile ls-cr-tweaks\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-11-06 16:05:04.474542
stderr

stderr_lines
[]
stdout
53 files removed
AlmaLinux 9 - AppStream                          37 MB/s |  21 MB     00:00    
AlmaLinux 9 - BaseOS                             50 MB/s |  33 MB     00:00    
AlmaLinux 9 - Extras                             65 kB/s |  20 kB     00:00    
Extra Packages for Enterprise Linux 9 - x86_64   21 MB/s |  20 MB     00:00    
Extra Packages for Enterprise Linux 9 openh264  4.2 kB/s | 2.5 kB     00:00    
kernelcare                                       76 kB/s |  25 kB     00:00    
created by dnf config-manager from http://mirro 639 kB/s | 454 kB     00:00    
Dependencies resolved.
================================================================================
 Package                 Arch      Version                   Repository    Size
================================================================================
Installing:
 tuned                   noarch    2.25.1-2.el9_6            baseos       351 k
Installing dependencies:
 hdparm                  x86_64    9.62-2.el9                baseos        95 k
 libbabeltrace           x86_64    1.5.8-10.el9              appstream    186 k
 libtraceevent           x86_64    1.5.3-3.el9               baseos       213 k
 python3-inotify         noarch    0.9.6-25.el9              baseos        52 k
 python3-linux-procfs    noarch    0.7.3-1.el9               baseos        30 k
 python3-pyudev          noarch    0.22.0-6.el9              baseos        76 k
 virt-what               x86_64    1.27-1.el9                baseos        42 k
Installing weak dependencies:
 python3-perf            x86_64    5.14.0-570.58.1.el9_6     appstream    3.2 M

Transaction Summary
================================================================================
Install  9 Packages

Total download size: 4.2 M
Installed size: 13 M
Downloading Packages:
(1/9): libbabeltrace-1.5.8-10.el9.x86_64.rpm    3.2 MB/s | 186 kB     00:00    
(2/9): hdparm-9.62-2.el9.x86_64.rpm             1.3 MB/s |  95 kB     00:00    
(3/9): python3-inotify-0.9.6-25.el9.noarch.rpm  6.4 MB/s |  52 kB     00:00    
(4/9): python3-perf-5.14.0-570.58.1.el9_6.x86_6  26 MB/s | 3.2 MB     00:00    
(5/9): libtraceevent-1.5.3-3.el9.x86_64.rpm     2.9 MB/s | 213 kB     00:00    
(6/9): python3-linux-procfs-0.7.3-1.el9.noarch. 606 kB/s |  30 kB     00:00    
(7/9): virt-what-1.27-1.el9.x86_64.rpm          5.1 MB/s |  42 kB     00:00    
(8/9): tuned-2.25.1-2.el9_6.noarch.rpm           27 MB/s | 351 kB     00:00    
(9/9): python3-pyudev-0.22.0-6.el9.noarch.rpm   4.0 MB/s |  76 kB     00:00    
--------------------------------------------------------------------------------
Total                                           6.1 MB/s | 4.2 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : virt-what-1.27-1.el9.x86_64                            1/9 
  Installing       : python3-pyudev-0.22.0-6.el9.noarch                     2/9 
  Installing       : python3-linux-procfs-0.7.3-1.el9.noarch                3/9 
  Installing       : python3-inotify-0.9.6-25.el9.noarch                    4/9 
  Installing       : libtraceevent-1.5.3-3.el9.x86_64                       5/9 
  Installing       : hdparm-9.62-2.el9.x86_64                               6/9 
  Installing       : libbabeltrace-1.5.8-10.el9.x86_64                      7/9 
  Installing       : python3-perf-5.14.0-570.58.1.el9_6.x86_64              8/9 
  Installing       : tuned-2.25.1-2.el9_6.noarch                            9/9 
  Running scriptlet: tuned-2.25.1-2.el9_6.noarch                            9/9 
Created symlink /etc/systemd/system/multi-user.target.wants/tuned.service → /usr/lib/systemd/system/tuned.service.

"/var/tmp" already exists and is not a directory.

  Verifying        : libbabeltrace-1.5.8-10.el9.x86_64                      1/9 
  Verifying        : python3-perf-5.14.0-570.58.1.el9_6.x86_64              2/9 
  Verifying        : hdparm-9.62-2.el9.x86_64                               3/9 
  Verifying        : libtraceevent-1.5.3-3.el9.x86_64                       4/9 
  Verifying        : python3-inotify-0.9.6-25.el9.noarch                    5/9 
  Verifying        : python3-linux-procfs-0.7.3-1.el9.noarch                6/9 
  Verifying        : python3-pyudev-0.22.0-6.el9.noarch                     7/9 
  Verifying        : tuned-2.25.1-2.el9_6.noarch                            8/9 
  Verifying        : virt-what-1.27-1.el9.x86_64                            9/9 

Installed:
  hdparm-9.62-2.el9.x86_64                                                      
  libbabeltrace-1.5.8-10.el9.x86_64                                             
  libtraceevent-1.5.3-3.el9.x86_64                                              
  python3-inotify-0.9.6-25.el9.noarch                                           
  python3-linux-procfs-0.7.3-1.el9.noarch                                       
  python3-perf-5.14.0-570.58.1.el9_6.x86_64                                     
  python3-pyudev-0.22.0-6.el9.noarch                                            
  tuned-2.25.1-2.el9_6.noarch                                                   
  virt-what-1.27-1.el9.x86_64                                                   

Complete!
stdout_lines
[
    "53 files removed",
    "AlmaLinux 9 - AppStream                          37 MB/s |  21 MB     00:00    ",
    "AlmaLinux 9 - BaseOS                             50 MB/s |  33 MB     00:00    ",
    "AlmaLinux 9 - Extras                             65 kB/s |  20 kB     00:00    ",
    "Extra Packages for Enterprise Linux 9 - x86_64   21 MB/s |  20 MB     00:00    ",
    "Extra Packages for Enterprise Linux 9 openh264  4.2 kB/s | 2.5 kB     00:00    ",
    "kernelcare                                       76 kB/s |  25 kB     00:00    ",
    "created by dnf config-manager from http://mirro 639 kB/s | 454 kB     00:00    ",
    "Dependencies resolved.",
    "================================================================================",
    " Package                 Arch      Version                   Repository    Size",
    "================================================================================",
    "Installing:",
    " tuned                   noarch    2.25.1-2.el9_6            baseos       351 k",
    "Installing dependencies:",
    " hdparm                  x86_64    9.62-2.el9                baseos        95 k",
    " libbabeltrace           x86_64    1.5.8-10.el9              appstream    186 k",
    " libtraceevent           x86_64    1.5.3-3.el9               baseos       213 k",
    " python3-inotify         noarch    0.9.6-25.el9              baseos        52 k",
    " python3-linux-procfs    noarch    0.7.3-1.el9               baseos        30 k",
    " python3-pyudev          noarch    0.22.0-6.el9              baseos        76 k",
    " virt-what               x86_64    1.27-1.el9                baseos        42 k",
    "Installing weak dependencies:",
    " python3-perf            x86_64    5.14.0-570.58.1.el9_6     appstream    3.2 M",
    "",
    "Transaction Summary",
    "================================================================================",
    "Install  9 Packages",
    "",
    "Total download size: 4.2 M",
    "Installed size: 13 M",
    "Downloading Packages:",
    "(1/9): libbabeltrace-1.5.8-10.el9.x86_64.rpm    3.2 MB/s | 186 kB     00:00    ",
    "(2/9): hdparm-9.62-2.el9.x86_64.rpm             1.3 MB/s |  95 kB     00:00    ",
    "(3/9): python3-inotify-0.9.6-25.el9.noarch.rpm  6.4 MB/s |  52 kB     00:00    ",
    "(4/9): python3-perf-5.14.0-570.58.1.el9_6.x86_6  26 MB/s | 3.2 MB     00:00    ",
    "(5/9): libtraceevent-1.5.3-3.el9.x86_64.rpm     2.9 MB/s | 213 kB     00:00    ",
    "(6/9): python3-linux-procfs-0.7.3-1.el9.noarch. 606 kB/s |  30 kB     00:00    ",
    "(7/9): virt-what-1.27-1.el9.x86_64.rpm          5.1 MB/s |  42 kB     00:00    ",
    "(8/9): tuned-2.25.1-2.el9_6.noarch.rpm           27 MB/s | 351 kB     00:00    ",
    "(9/9): python3-pyudev-0.22.0-6.el9.noarch.rpm   4.0 MB/s |  76 kB     00:00    ",
    "--------------------------------------------------------------------------------",
    "Total                                           6.1 MB/s | 4.2 MB     00:00     ",
    "Running transaction check",
    "Transaction check succeeded.",
    "Running transaction test",
    "Transaction test succeeded.",
    "Running transaction",
    "  Preparing        :                                                        1/1 ",
    "  Installing       : virt-what-1.27-1.el9.x86_64                            1/9 ",
    "  Installing       : python3-pyudev-0.22.0-6.el9.noarch                     2/9 ",
    "  Installing       : python3-linux-procfs-0.7.3-1.el9.noarch                3/9 ",
    "  Installing       : python3-inotify-0.9.6-25.el9.noarch                    4/9 ",
    "  Installing       : libtraceevent-1.5.3-3.el9.x86_64                       5/9 ",
    "  Installing       : hdparm-9.62-2.el9.x86_64                               6/9 ",
    "  Installing       : libbabeltrace-1.5.8-10.el9.x86_64                      7/9 ",
    "  Installing       : python3-perf-5.14.0-570.58.1.el9_6.x86_64              8/9 ",
    "  Installing       : tuned-2.25.1-2.el9_6.noarch                            9/9 ",
    "  Running scriptlet: tuned-2.25.1-2.el9_6.noarch                            9/9 ",
    "Created symlink /etc/systemd/system/multi-user.target.wants/tuned.service \u2192 /usr/lib/systemd/system/tuned.service.",
    "",
    "\"/var/tmp\" already exists and is not a directory.",
    "",
    "  Verifying        : libbabeltrace-1.5.8-10.el9.x86_64                      1/9 ",
    "  Verifying        : python3-perf-5.14.0-570.58.1.el9_6.x86_64              2/9 ",
    "  Verifying        : hdparm-9.62-2.el9.x86_64                               3/9 ",
    "  Verifying        : libtraceevent-1.5.3-3.el9.x86_64                       4/9 ",
    "  Verifying        : python3-inotify-0.9.6-25.el9.noarch                    5/9 ",
    "  Verifying        : python3-linux-procfs-0.7.3-1.el9.noarch                6/9 ",
    "  Verifying        : python3-pyudev-0.22.0-6.el9.noarch                     7/9 ",
    "  Verifying        : tuned-2.25.1-2.el9_6.noarch                            8/9 ",
    "  Verifying        : virt-what-1.27-1.el9.x86_64                            9/9 ",
    "",
    "Installed:",
    "  hdparm-9.62-2.el9.x86_64                                                      ",
    "  libbabeltrace-1.5.8-10.el9.x86_64                                             ",
    "  libtraceevent-1.5.3-3.el9.x86_64                                              ",
    "  python3-inotify-0.9.6-25.el9.noarch                                           ",
    "  python3-linux-procfs-0.7.3-1.el9.noarch                                       ",
    "  python3-perf-5.14.0-570.58.1.el9_6.x86_64                                     ",
    "  python3-pyudev-0.22.0-6.el9.noarch                                            ",
    "  tuned-2.25.1-2.el9_6.noarch                                                   ",
    "  virt-what-1.27-1.el9.x86_64                                                   ",
    "",
    "Complete!"
]