Execution
Date
03 Jun 2024 14:31:54 +0100
Duration
None
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
33
Hosts
1
Tasks
33
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusFAILED
-
Duration00:00:06.10
-
PlayCheck yaml size
-
TaskCheck the swap size
-
Date03 Jun 2024 14:32:02 +0100
-
Module / Actionansible.builtin.shell (/home/ssh-gateway/ansible/check-swap.yaml:6)
| Field | Value |
|---|---|
| changed |
False |
| cmd |
set -o pipefail
[ "$(swapon --show=SIZE --noheadings --bytes | awk '{sum += $1} END {print sum}')" -eq 1073741824 ] && echo "Swap size is 1G"
|
| delta |
0:00:00.022772 |
| end |
2024-06-03 14:31:57.410334 |
| invocation |
{ "module_args": { "_raw_params": "set -o pipefail\n[ \"$(swapon --show=SIZE --noheadings --bytes | awk '{sum += $1} END {print sum}')\" -eq 1073741824 ] && echo \"Swap size is 1G\"\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 |
non-zero return code |
| rc |
1 |
| start |
2024-06-03 14:31:57.387562 |
| stderr |
|
| stderr_lines |
[]
|
| stdout |
|
| stdout_lines |
[]
|