Execution
Date 25 Nov 2025 10:43:48 +0000
Duration 00:00:12.75
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
21 Hosts
1 Tasks
21 Results
1 Plays
1 Files
0 Records

Task result details

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

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/
mv /etc/tuned/ls-cr-tweaks/tuned.conf /etc/tuned/ls-cr-tweaks/tuned.conf.bak-$(date +%s)
cat > /etc/tuned/ls-cr-tweaks/tuned.conf << EOF
[main]
summary=LS optimized profile for COMPUTE RESOURCES

[sysctl]
vm.swappiness = 10

[scheduler]
sched_migration_cost_ns = 5000000
EOF
tuned-adm profile ls-cr-tweaks
tuned-adm active | grep ls-cr-tweaks && echo "Profile ls-cr-tweaks is active" || echo "Profile ls-cr-tweaks is not active"
delta
0:00:01.397724
end
2025-11-25 10:43:51.530522
invocation
{
    "module_args": {
        "_raw_params": "set -o pipefail\n# dnf clean all\n# dnf -y install tuned\n# systemctl enable --now tuned.service\n# mkdir -p /etc/tuned/ls-cr-tweaks/\nmv /etc/tuned/ls-cr-tweaks/tuned.conf /etc/tuned/ls-cr-tweaks/tuned.conf.bak-$(date +%s)\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]\nsched_migration_cost_ns = 5000000\nEOF\ntuned-adm profile ls-cr-tweaks\ntuned-adm active | grep ls-cr-tweaks && echo \"Profile ls-cr-tweaks is active\" || echo \"Profile ls-cr-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-11-25 10:43:50.132798
stderr

stderr_lines
[]
stdout
Current active profile: ls-cr-tweaks
Profile ls-cr-tweaks is active
stdout_lines
[
    "Current active profile: ls-cr-tweaks",
    "Profile ls-cr-tweaks is active"
]