This could be a result of a few things, what I would try is;

   - Use win_command to run 'choco install git --yes --no-progress'
      - If this fails then the error probably lies within the WinRM memory 
      limits placed on a process
      - If it doesn't fail then something might be up with the module
      - Check if you can install any other chocolatey packages can be 
   installed
      - If not, then something is up with your Chocolatey install
   - Try running with async, this should escape the WinRM memory limits I 
   mentioned above
   - Have a look on the server when running your win_chocolatey task and 
   see what is taking up all the memory (powershell.exe, choco.exe, or some 
   other exe)

Thanks

Jordan

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a522f223-58a0-49aa-9ed6-e4c70dfaf005%40googlegroups.com.

Reply via email to