Execution
Date
24 Jul 2025 10:14:34 +0100
Duration
00:00:03.92
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
1
Hosts
10
Tasks
10
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusOK
-
Duration00:00:00.53
-
PlaySearch for diskusage block in file and replace it
-
TaskExtract diskusage block using awk
-
Date24 Jul 2025 10:14:36 +0100
-
Module / Actionansible.builtin.shell (/home/ssh-gateway/ansible/kuly/RM10092_agent360_conf_change.yaml:18)
| Field | Value |
|---|---|
| changed |
False |
| cmd |
awk '
/^\[diskusage\]$/ { found=1; print; next }
found && /^\[.*\]$/ && !/^\[diskusage\]$/ { found=0; next }
found { print }
' "/etc/agent360.ini"
|
| delta |
0:00:00.007733 |
| end |
2025-07-24 10:14:36.314470 |
| invocation |
{ "module_args": { "_raw_params": "awk '\n/^\\[diskusage\\]$/ { found=1; print; next }\nfound && /^\\[.*\\]$/ && !/^\\[diskusage\\]$/ { found=0; next }\nfound { print }\n' \"/etc/agent360.ini\"\n", "_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 10:14:36.306737 |
| stderr |
|
| stderr_lines |
[]
|
| stdout |
[diskusage] enabled = true exclude = /dev/loop,/dev/snap,/squashfs,/cagefs-skeleton,/restore |
| stdout_lines |
[ "[diskusage]", "enabled = true", "exclude = /dev/loop,/dev/snap,/squashfs,/cagefs-skeleton,/restore" ] |