Execution
Date
03 Jun 2024 13:32:15 +0100
Duration
00:00:16.43
Controller
ssh-gw-4.layershift.com
User
root
Versions
Ansible
2.16.4
ara
1.7.1 / 1.7.1
Python
3.10.10
Summary
81
Hosts
1
Tasks
81
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusOK
-
Duration00:00:04.85
-
PlayPlaybook to modify swapiness
-
TaskModify swapiness
-
Date03 Jun 2024 13:32:23 +0100
-
Module / Actionansible.builtin.shell (/home/ssh-gateway/ansible/RM9587-swapiness.yaml:6)
| Field | Value |
|---|---|
| changed |
False |
| cmd |
set -o pipefail
sed -i '/^vm.swappiness/ { s/=.*/=0/; b }; $a vm.swappiness=0' /etc/sysctl.conf
sysctl -p
cat /proc/sys/vm/swappiness
|
| delta |
0:00:00.012703 |
| end |
2024-06-03 13:32:19.186600 |
| invocation |
{ "module_args": { "_raw_params": "set -o pipefail\nsed -i '/^vm.swappiness/ { s/=.*/=0/; b }; $a vm.swappiness=0' /etc/sysctl.conf\nsysctl -p\ncat /proc/sys/vm/swappiness\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 |
2024-06-03 13:32:19.173897 |
| stderr |
|
| stderr_lines |
[]
|
| stdout |
vm.swappiness = 0 0 |
| stdout_lines |
[ "vm.swappiness = 0", "0" ] |