Suggestion for win_chocolatey - supporting private NuGet repositories

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

Sounds like a useful thing to me. I’m sure there are plenty of places where using a public repository isn’t really an option.

I see somebody is actually working on it and there’s an open PR: https://github.com/elventear/ansible-modules-extras/pull/2
So I’m gonna wait for now