Execution
Date 31 Oct 2025 09:05:29 +0000
Duration 00:00:33.39
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
2 Hosts
1 Tasks
2 Results
1 Plays
1 Files
0 Records

Task result details

  • Status
    OK
  • Duration
    00:00:30.37
  • Play
    Playbook to install and config tuned on CRs
  • Task
    Install
  • Host
    kvm1-dev

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:29.499757
end
2025-10-31 09:06:00.034686
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-10-31 09:05:30.534929
stderr

stderr_lines
[]
stdout
52 files removed
AlmaLinux 9 - AppStream                          36 MB/s |  21 MB     00:00    
AlmaLinux 9 - BaseOS                             45 MB/s |  33 MB     00:00    
AlmaLinux 9 - Extras                             68 kB/s |  20 kB     00:00    
Extra Packages for Enterprise Linux 9 - x86_64   22 MB/s |  20 MB     00:00    
Extra Packages for Enterprise Linux 9 openh264  2.2 kB/s | 2.5 kB     00:01    
kernelcare                                       78 kB/s |  25 kB     00:00    
created by dnf config-manager from http://mirro 1.7 MB/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:
 gobject-introspection        x86_64  1.68.0-11.el9            baseos     246 k
 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-gobject-base         x86_64  3.40.1-6.el9             baseos     176 k
 python3-gobject-base-noarch  noarch  3.40.1-6.el9             baseos     152 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  12 Packages

Total download size: 4.8 M
Installed size: 15 M
Downloading Packages:
(1/12): libbabeltrace-1.5.8-10.el9.x86_64.rpm   4.8 MB/s | 186 kB     00:00    
(2/12): gobject-introspection-1.68.0-11.el9.x86 5.7 MB/s | 246 kB     00:00    
(3/12): hdparm-9.62-2.el9.x86_64.rpm             10 MB/s |  95 kB     00:00    
(4/12): libtraceevent-1.5.3-3.el9.x86_64.rpm     20 MB/s | 213 kB     00:00    
(5/12): python3-gobject-base-3.40.1-6.el9.x86_6  18 MB/s | 176 kB     00:00    
(6/12): python3-inotify-0.9.6-25.el9.noarch.rpm 5.8 MB/s |  52 kB     00:00    
(7/12): python3-gobject-base-noarch-3.40.1-6.el 6.6 MB/s | 152 kB     00:00    
(8/12): python3-linux-procfs-0.7.3-1.el9.noarch 3.0 MB/s |  30 kB     00:00    
(9/12): python3-pyudev-0.22.0-6.el9.noarch.rpm  7.8 MB/s |  76 kB     00:00    
(10/12): tuned-2.25.1-2.el9_6.noarch.rpm         25 MB/s | 351 kB     00:00    
(11/12): virt-what-1.27-1.el9.x86_64.rpm        4.7 MB/s |  42 kB     00:00    
(12/12): python3-perf-5.14.0-570.58.1.el9_6.x86  20 MB/s | 3.2 MB     00:00    
--------------------------------------------------------------------------------
Total                                           6.8 MB/s | 4.8 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/12 
  Installing       : python3-pyudev-0.22.0-6.el9.noarch                    2/12 
  Installing       : python3-linux-procfs-0.7.3-1.el9.noarch               3/12 
  Installing       : python3-inotify-0.9.6-25.el9.noarch                   4/12 
  Installing       : libtraceevent-1.5.3-3.el9.x86_64                      5/12 
  Installing       : hdparm-9.62-2.el9.x86_64                              6/12 
  Installing       : gobject-introspection-1.68.0-11.el9.x86_64            7/12 
  Installing       : python3-gobject-base-noarch-3.40.1-6.el9.noarch       8/12 
  Installing       : python3-gobject-base-3.40.1-6.el9.x86_64              9/12 
  Installing       : libbabeltrace-1.5.8-10.el9.x86_64                    10/12 
  Installing       : python3-perf-5.14.0-570.58.1.el9_6.x86_64            11/12 
  Installing       : tuned-2.25.1-2.el9_6.noarch                          12/12 
  Running scriptlet: tuned-2.25.1-2.el9_6.noarch                          12/12 
Created symlink /etc/systemd/system/multi-user.target.wants/tuned.service → /usr/lib/systemd/system/tuned.service.

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

Installed:
  gobject-introspection-1.68.0-11.el9.x86_64                                    
  hdparm-9.62-2.el9.x86_64                                                      
  libbabeltrace-1.5.8-10.el9.x86_64                                             
  libtraceevent-1.5.3-3.el9.x86_64                                              
  python3-gobject-base-3.40.1-6.el9.x86_64                                      
  python3-gobject-base-noarch-3.40.1-6.el9.noarch                               
  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
[
    "52 files removed",
    "AlmaLinux 9 - AppStream                          36 MB/s |  21 MB     00:00    ",
    "AlmaLinux 9 - BaseOS                             45 MB/s |  33 MB     00:00    ",
    "AlmaLinux 9 - Extras                             68 kB/s |  20 kB     00:00    ",
    "Extra Packages for Enterprise Linux 9 - x86_64   22 MB/s |  20 MB     00:00    ",
    "Extra Packages for Enterprise Linux 9 openh264  2.2 kB/s | 2.5 kB     00:01    ",
    "kernelcare                                       78 kB/s |  25 kB     00:00    ",
    "created by dnf config-manager from http://mirro 1.7 MB/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:",
    " gobject-introspection        x86_64  1.68.0-11.el9            baseos     246 k",
    " 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-gobject-base         x86_64  3.40.1-6.el9             baseos     176 k",
    " python3-gobject-base-noarch  noarch  3.40.1-6.el9             baseos     152 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  12 Packages",
    "",
    "Total download size: 4.8 M",
    "Installed size: 15 M",
    "Downloading Packages:",
    "(1/12): libbabeltrace-1.5.8-10.el9.x86_64.rpm   4.8 MB/s | 186 kB     00:00    ",
    "(2/12): gobject-introspection-1.68.0-11.el9.x86 5.7 MB/s | 246 kB     00:00    ",
    "(3/12): hdparm-9.62-2.el9.x86_64.rpm             10 MB/s |  95 kB     00:00    ",
    "(4/12): libtraceevent-1.5.3-3.el9.x86_64.rpm     20 MB/s | 213 kB     00:00    ",
    "(5/12): python3-gobject-base-3.40.1-6.el9.x86_6  18 MB/s | 176 kB     00:00    ",
    "(6/12): python3-inotify-0.9.6-25.el9.noarch.rpm 5.8 MB/s |  52 kB     00:00    ",
    "(7/12): python3-gobject-base-noarch-3.40.1-6.el 6.6 MB/s | 152 kB     00:00    ",
    "(8/12): python3-linux-procfs-0.7.3-1.el9.noarch 3.0 MB/s |  30 kB     00:00    ",
    "(9/12): python3-pyudev-0.22.0-6.el9.noarch.rpm  7.8 MB/s |  76 kB     00:00    ",
    "(10/12): tuned-2.25.1-2.el9_6.noarch.rpm         25 MB/s | 351 kB     00:00    ",
    "(11/12): virt-what-1.27-1.el9.x86_64.rpm        4.7 MB/s |  42 kB     00:00    ",
    "(12/12): python3-perf-5.14.0-570.58.1.el9_6.x86  20 MB/s | 3.2 MB     00:00    ",
    "--------------------------------------------------------------------------------",
    "Total                                           6.8 MB/s | 4.8 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/12 ",
    "  Installing       : python3-pyudev-0.22.0-6.el9.noarch                    2/12 ",
    "  Installing       : python3-linux-procfs-0.7.3-1.el9.noarch               3/12 ",
    "  Installing       : python3-inotify-0.9.6-25.el9.noarch                   4/12 ",
    "  Installing       : libtraceevent-1.5.3-3.el9.x86_64                      5/12 ",
    "  Installing       : hdparm-9.62-2.el9.x86_64                              6/12 ",
    "  Installing       : gobject-introspection-1.68.0-11.el9.x86_64            7/12 ",
    "  Installing       : python3-gobject-base-noarch-3.40.1-6.el9.noarch       8/12 ",
    "  Installing       : python3-gobject-base-3.40.1-6.el9.x86_64              9/12 ",
    "  Installing       : libbabeltrace-1.5.8-10.el9.x86_64                    10/12 ",
    "  Installing       : python3-perf-5.14.0-570.58.1.el9_6.x86_64            11/12 ",
    "  Installing       : tuned-2.25.1-2.el9_6.noarch                          12/12 ",
    "  Running scriptlet: tuned-2.25.1-2.el9_6.noarch                          12/12 ",
    "Created symlink /etc/systemd/system/multi-user.target.wants/tuned.service \u2192 /usr/lib/systemd/system/tuned.service.",
    "",
    "  Verifying        : libbabeltrace-1.5.8-10.el9.x86_64                     1/12 ",
    "  Verifying        : python3-perf-5.14.0-570.58.1.el9_6.x86_64             2/12 ",
    "  Verifying        : gobject-introspection-1.68.0-11.el9.x86_64            3/12 ",
    "  Verifying        : hdparm-9.62-2.el9.x86_64                              4/12 ",
    "  Verifying        : libtraceevent-1.5.3-3.el9.x86_64                      5/12 ",
    "  Verifying        : python3-gobject-base-3.40.1-6.el9.x86_64              6/12 ",
    "  Verifying        : python3-gobject-base-noarch-3.40.1-6.el9.noarch       7/12 ",
    "  Verifying        : python3-inotify-0.9.6-25.el9.noarch                   8/12 ",
    "  Verifying        : python3-linux-procfs-0.7.3-1.el9.noarch               9/12 ",
    "  Verifying        : python3-pyudev-0.22.0-6.el9.noarch                   10/12 ",
    "  Verifying        : tuned-2.25.1-2.el9_6.noarch                          11/12 ",
    "  Verifying        : virt-what-1.27-1.el9.x86_64                          12/12 ",
    "",
    "Installed:",
    "  gobject-introspection-1.68.0-11.el9.x86_64                                    ",
    "  hdparm-9.62-2.el9.x86_64                                                      ",
    "  libbabeltrace-1.5.8-10.el9.x86_64                                             ",
    "  libtraceevent-1.5.3-3.el9.x86_64                                              ",
    "  python3-gobject-base-3.40.1-6.el9.x86_64                                      ",
    "  python3-gobject-base-noarch-3.40.1-6.el9.noarch                               ",
    "  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!"
]