You are right Jordan, I could use win_command instead. As of now, Git is the only software I need, and wanted it in an automated way, chocolatey was the easiest until that happens...
I will look into all that stuff, thank you, that should give me enough to look at. Thank you! -Simon ________________________________ From: [email protected] <[email protected]> on behalf of Jordan Borean <[email protected]> Sent: September 12, 2019 9:12 PM To: Ansible Project <[email protected]> Subject: [EXTERNAL] [ansible-project] Re: Chocolatey and installing GIT 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]<mailto:[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<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fansible-project%2fa522f223-58a0-49aa-9ed6-e4c70dfaf005%2540googlegroups.com%3futm_medium%3demail%26utm_source%3dfooter&c=E,1,71mzy6xN2AZK026n7i8g6CuTWuOX6lgAIz-KB4n9NtFZbxG2WbMceT-EwYwRTyMjXk6V01PXf6u8HZ_hUa1OC9cnX4HwYWvXC4WwAicDgg,,&typo=1>. -- 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/YT1PR01MB341836AFC5297F656692F8A1B6B30%40YT1PR01MB3418.CANPRD01.PROD.OUTLOOK.COM.
