Execution
Date 03 Jun 2024 13:42:17 +0100
Duration 00:04:17.74
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

  • Status
    OK
  • Duration
    00:02:29.02
  • Play
    Change swap size playbook
  • Task
    Change the swap

Field Value
changed
False
cmd
set -o pipefail
swapoff -av
rm -f /pleskswap
dd if=/dev/zero of=/pleskswap bs=1MB count=4096
chmod 600 /pleskswap
mkswap /pleskswap
swapon -av
swapon --show
delta
0:01:30.817800
end
2024-06-03 12:43:49.934934
invocation
{
    "module_args": {
        "_raw_params": "set -o pipefail\nswapoff -av\nrm -f /pleskswap\ndd if=/dev/zero of=/pleskswap bs=1MB count=4096\nchmod 600 /pleskswap\nmkswap /pleskswap\nswapon -av\nswapon --show\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 12:42:19.117134
stderr
4096+0 records in
4096+0 records out
4096000000 bytes (4.1 GB, 3.8 GiB) copied, 66.0345 s, 62.0 MB/s
stderr_lines
[
    "4096+0 records in",
    "4096+0 records out",
    "4096000000 bytes (4.1 GB, 3.8 GiB) copied, 66.0345 s, 62.0 MB/s"
]
stdout
Setting up swapspace version 1, size = 3.8 GiB (4095995904 bytes)
no label, UUID=adb111e4-8a1e-4c43-9faa-2a67c393025f
stdout_lines
[
    "Setting up swapspace version 1, size = 3.8 GiB (4095995904 bytes)",
    "no label, UUID=adb111e4-8a1e-4c43-9faa-2a67c393025f"
]