Execution
Date 24 Jul 2025 13:21:51 +0100
Duration 00:08:59.29
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.11
ara 1.7.2 / 1.7.2
Python 3.10.10
Summary
399 Hosts
10 Tasks
3969 Results
1 Plays
1 Files
0 Records

Task result details

  • Status
    OK
  • Duration
    00:00:36.30
  • Play
    Search for diskusage block in file and replace it
  • Task
    Check if block was found

Field Value
changed
False
cmd
grep -q '^\[diskusage\]$' /etc/agent360.ini && echo 'found' || echo 'not found'
delta
0:00:00.005436
end
2025-07-24 12:22:12.725718
invocation
{
    "module_args": {
        "_raw_params": "grep -q '^\\[diskusage\\]$' /etc/agent360.ini && echo 'found' || echo 'not found'",
        "_uses_shell": true,
        "argv": null,
        "chdir": null,
        "creates": null,
        "executable": null,
        "expand_argument_vars": true,
        "removes": null,
        "stdin": null,
        "stdin_add_newline": true,
        "strip_empty_ends": true
    }
}
msg

rc
0
start
2025-07-24 12:22:12.720282
stderr
grep: /etc/agent360.ini: No such file or directory
stderr_lines
[
    "grep: /etc/agent360.ini: No such file or directory"
]
stdout
not found
stdout_lines
[
    "not found"
]