Execution
Date 03 Jun 2024 14:33:14 +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
42 Hosts
1 Tasks
42 Results
1 Plays
1 Files
0 Records

Task result details


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.009854
end
2024-06-03 13:33:19.181080
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
2
start
2024-06-03 13:33:19.171226
stderr
/bin/bash: line 1: [: : integer expression expected
stderr_lines
[
    "/bin/bash: line 1: [: : integer expression expected"
]
stdout

stdout_lines
[]