What is the right approach for installing a choco package via proxy repository?
So my general approach was the following:
- name: Install virtualbox
chocolatey.chocolatey.win_chocolatey:
name: virtualbox
version: "7.0.18"
source: http://my-nexus.myorg.org:8081/repository/choco-group/
state: present
This always failed because of the missing bootstrap script on my nexus instance.
Adding just the following works:
bootstrap_script: https://community.chocolatey.org/install.ps1
But maybe this could also trigger the rate limiter of community.chocolatey.org?
I think having the file in my ansible pool repo is also not a solution, since I need to track the status of the script.
So I think for my scenario having the script at the right location on the proxy sound good.
If I am right how to achieve that behavior?
The examples seems to just point against some simple internal web server.