I don’t have access to my environment right now, but you’ll have to modify the install.ps1 script following chocolatey’s instruction for offline installation. They have it well published on their site. Hope this leads you the right way
Sent from my iPhone > On Mar 27, 2019, at 2:23 PM, [email protected] wrote: > > Hello, > > I’m trying to make a task to install Chocolatey on Windows. I have a remote > windows host with the Chocolatey installer package at: C:\updater\ > chocolatey.0.10.13.nupkg > > I don’t think I can use “win_chocolatey” because it wants the source to be a > URL and I think it wants the installer package to be un-zipped as well > because it asks for the location of the “install.ps1” script. – so I guess > that means I need a task that will: > > 1 rename chocolatey.0.10.13.nupkg to chocolatey.0.10.13.zip > 2 unzip it > 3 cd to the unzipped folder where “install.ps1” script lives > 4 run “install.ps1” > > Does that sound right or am I missing a better way to do this? > Thanks much for any help > -- > 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 post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/3e83bb9f-197b-4dc9-81f1-2ee2019936ef%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/E4E6D2A6-BF69-404B-904F-F319ACD00DDC%40gmail.com. For more options, visit https://groups.google.com/d/optout.
