1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix problem with file content and high cpu/out of memory errors

This commit is contained in:
Hans-Joachim Kliemeck 2015-12-14 16:04:13 +01:00 committed by Matt Clay
parent 2ef913a288
commit 1354ef0285

View file

@ -58,7 +58,7 @@ Else
Set-Attr $result "changed" $true;
$logcontents = Get-Content $logfile;
$logcontents = Get-Content $logfile | Out-String;
Remove-Item $logfile;
Set-Attr $result "log" $logcontents;