Execution
Date 25 Feb 2026 08:14:44 +0000
Duration 00:00:07.93
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.13
ara 1.7.4 / 1.7.4
Python 3.10.10
Summary
8 Hosts
1 Tasks
8 Results
1 Plays
1 Files
0 Records

Task result details

  • Status
    OK
  • Duration
    00:00:04.59
  • Play
    Playbook to install and config tuned on backup nodes
  • Task
    Install
  • Host
    m24

Field Value
changed
False
cmd
set -o pipefail
# dnf clean all
# dnf -y install tuned
systemctl enable --now tuned.service
mkdir -p /etc/tuned/ls-backup-node-tweaks/
mv /etc/tuned/ls-backup-node-tweaks/tuned.conf /etc/tuned/ls-backup-node-tweaks/tuned.conf.bak-$(date +%s)
cat > /etc/tuned/ls-backup-node-tweaks/tuned.conf << EOF
[main]
summary=LS optimized profile for Backup Servers

[sysctl]
vm.swappiness = 10

[scheduler]
runtime=0
sched_migration_cost_ns = 5000000
EOF
tuned-adm off
tuned-adm profile ls-backup-node-tweaks
tuned-adm active | grep ls-backup-node-tweaks && echo "Profile ls-cr-tweaks is active" || echo "Profile ls-cr-tweaks is not active"
delta
0:00:04.228107
end
2026-02-25 08:14:49.675583
invocation
{
    "module_args": {
        "_raw_params": "set -o pipefail\n# dnf clean all\n# dnf -y install tuned\nsystemctl enable --now tuned.service\nmkdir -p /etc/tuned/ls-backup-node-tweaks/\nmv /etc/tuned/ls-backup-node-tweaks/tuned.conf /etc/tuned/ls-backup-node-tweaks/tuned.conf.bak-$(date +%s)\ncat > /etc/tuned/ls-backup-node-tweaks/tuned.conf << EOF\n[main]\nsummary=LS optimized profile for Backup Servers\n\n[sysctl]\nvm.swappiness = 10\n\n[scheduler]\nruntime=0\nsched_migration_cost_ns = 5000000\nEOF\ntuned-adm off\ntuned-adm profile ls-backup-node-tweaks\ntuned-adm active | grep ls-backup-node-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
2026-02-25 08:14:45.447476
stderr
Created symlink from /etc/systemd/system/multi-user.target.wants/tuned.service to /usr/lib/systemd/system/tuned.service.
mv: cannot stat ‘/etc/tuned/ls-backup-node-tweaks/tuned.conf’: No such file or directory
stderr_lines
[
    "Created symlink from /etc/systemd/system/multi-user.target.wants/tuned.service to /usr/lib/systemd/system/tuned.service.",
    "mv: cannot stat \u2018/etc/tuned/ls-backup-node-tweaks/tuned.conf\u2019: No such file or directory"
]
stdout
Current active profile: ls-backup-node-tweaks
Profile ls-cr-tweaks is active
stdout_lines
[
    "Current active profile: ls-backup-node-tweaks",
    "Profile ls-cr-tweaks is active"
]