Execution
Date 03 Jun 2024 14:34:49 +0100
Duration 00:00:15.89
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


Field Value
changed
False
cmd
set -o pipefail
total_swap_size=$(swapon --show=SIZE --noheadings --bytes | awk '{sum += $1} END {print sum}')
if [ "$total_swap_size" -eq 1073741824 ]; then echo "Swap size is 1G"; fi
delta
0:00:00.017996
end
2024-06-03 14:34:53.408185
invocation
{
    "module_args": {
        "_raw_params": "set -o pipefail\ntotal_swap_size=$(swapon --show=SIZE --noheadings --bytes | awk '{sum += $1} END {print sum}')\nif [ \"$total_swap_size\" -eq 1073741824 ]; then echo \"Swap size is 1G\"; fi\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 14:34:53.390189
stderr

stderr_lines
[]
stdout

stdout_lines
[]