Execution
Date
08 May 2024 16:22:55 +0100
Duration
00:07:32.53
Controller
ssh-gw-4.layershift.com
User
root
Versions
Ansible
2.16.4
ara
1.7.1 / 1.7.2.dev2
Python
3.10.10
Summary
479
Hosts
8
Tasks
3297
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusCHANGED
-
Duration00:00:33.54
-
PlayMitigating CVE-2024-2961
-
TaskMatch and comment out block in the configuration file
-
Date08 May 2024 16:25:55 +0100
-
Module / Actionansible.builtin.shell (/home/ssh-gateway/ansible/projects/RM9537/RM9537.yaml:21)
| Field | Value |
|---|---|
| changed |
True |
| cmd |
set -o pipefail
file="/usr/lib64/gconv/gconv-modules"
cp "$file" "$file".backup-"$(date +%d-%m-%Y-%H-%M)"
grep -n "ISO2022CNEXT//" "$file" | while read -r line; do line_number=$(echo "$line" | cut -d':' -f1); sed -i "${line_number},$((line_number + 2)) s/^/# /" "$file"; done
rm -f /usr/lib64/gconv/gconv-modules.cache
|
| delta |
0:00:00.017399 |
| end |
2024-05-08 16:25:22.201345 |
| invocation |
{ "module_args": { "_raw_params": "set -o pipefail\nfile=\"/usr/lib64/gconv/gconv-modules\"\ncp \"$file\" \"$file\".backup-\"$(date +%d-%m-%Y-%H-%M)\"\ngrep -n \"ISO2022CNEXT//\" \"$file\" | while read -r line; do line_number=$(echo \"$line\" | cut -d':' -f1); sed -i \"${line_number},$((line_number + 2)) s/^/# /\" \"$file\"; done\nrm -f /usr/lib64/gconv/gconv-modules.cache\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 |
2024-05-08 16:25:22.183946 |
| stderr |
|
| stderr_lines |
[]
|
| stdout |
|
| stdout_lines |
[]
|