Hi Jordan,

Just for your information,

I guess I did not read the documentation properly, the winrm memory fix helped 
to run the everything through.

Although, it does not seem to work as expected. In the log I can see "  
Software installed to 'C:\\Program Files\\Git\\'"

This is when I run ansible-playbook  with verbose.

When I go and look on the server, the files are not present. which gets me 
wondering.

Also if I run the uninstall manually, it looks like git was not installed.

Anyway, I will probably just run win_command instead. But I figured I should 
state the issue here.

-Simon


________________________________
From: [email protected] <[email protected]> on 
behalf of Simon-Pierre Diamond <[email protected]>
Sent: September 13, 2019 7:57 AM
To: Ansible Project <[email protected]>
Subject: Re: [EXTERNAL] [ansible-project] Re: Chocolatey and installing GIT

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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/YT1PR01MB341836AFC5297F656692F8A1B6B30%40YT1PR01MB3418.CANPRD01.PROD.OUTLOOK.COM<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fansible-project%2fYT1PR01MB341836AFC5297F656692F8A1B6B30%2540YT1PR01MB3418.CANPRD01.PROD.OUTLOOK.COM%3futm_medium%3demail%26utm_source%3dfooter&c=E,1,9L5lCFG5IRhTWPa1iNGB3UdObriaEHd0aABycxBSejfgVVf4U69Fbu6XXVP4CM5jyEwjt-Pup9I8AMQhbdpK_WZLwQU1BK4E64QGNBysytfMlpn7&typo=1>.

This message has been sent on behalf of a company that is part of the Harris 
Operating Group of Constellation Software Inc. These companies are listed 
here<http://subscribe.harriscomputer.com/>.
If you prefer not to be contacted by Harris Operating Group please notify 
us<http://subscribe.harriscomputer.com/>.

This message is intended exclusively for the individual or entity to which it 
is addressed. This communication may contain information that is proprietary, 
privileged or confidential or otherwise legally exempt from disclosure. If you 
are not the named addressee, you are not authorized to read, print, retain, 
copy or disseminate this message or any part of it. If you have received this 
message in error, please notify the sender immediately by e-mail and delete all 
copies of the message.

-- 
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/YT1PR01MB3418B54227A5AE8D4F85C987B6B30%40YT1PR01MB3418.CANPRD01.PROD.OUTLOOK.COM.

Reply via email to