Unfortunately the win_chocolatey module doesn’t support private NuGet repositores as a source. Examples for a private repository services are MyGet and ProGet. A private repository can be used to store your own build artifacts for CI/CD purposes, so it makes sense that you could consume packages from a private repository of your choice during management/deployment task being ran by Ansible.
Since its my first time diving into Ansible’s modules code (and also working with Ansible in general) I would like to hear you opinion regarding my suggestion and whether that’s something you’d like to see in the win_chocolatey module. Also, let me know if there’s anything in particular I should pay attention to (the way I expose that feature etc). I looked at the win_chocolatey module code and it seems to me like I can add that functionality to it, so if the suggestion seems alright to you I’d like to work on that and submit a pull request.
What do you think?
Best,
Tal