# Suggestion for win\_chocolatey - supporting private NuGet repositories

**URL:** <https://forum.ansible.com/t/suggestion-for-win-chocolatey-supporting-private-nuget-repositories/18251>\
**Category:** Ansible Developer\
**Created:** [May 18, 2015, 3:15pm UTC](https://forum.ansible.com/t/suggestion-for-win-chocolatey-supporting-private-nuget-repositories/18251 "2015-05-18T15:15:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tal](https://avatars.discourse-cdn.com/v4/letter/t/54ee81/32.png) [@tal](https://forum.ansible.com/u/tal)\
**Post date:** [May 18, 2015, 3:15pm UTC](https://forum.ansible.com/t/suggestion-for-win-chocolatey-supporting-private-nuget-repositories/18251/1 "2015-05-18T15:15:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [May 19, 2015, 8:57am UTC](https://forum.ansible.com/t/suggestion-for-win-chocolatey-supporting-private-nuget-repositories/18251/2 "2015-05-19T08:57:48Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![tal](https://avatars.discourse-cdn.com/v4/letter/t/54ee81/32.png) [@tal](https://forum.ansible.com/u/tal)\
**Post date:** [May 25, 2015, 7:57am UTC](https://forum.ansible.com/t/suggestion-for-win-chocolatey-supporting-private-nuget-repositories/18251/3 "2015-05-25T07:57:57Z")

</div>

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