I’m trying to figure out how to use my changes to ansible-modules-extras locally.
I have cloned the ansible and ansible-modules-extras locally and made changes to ansible-modules-extras.
I see that in ansible there is .gitmodules that contains the path where the submodules live and the url where the repositories are.
It doesn’t appear to be as easy as changing that url to my repo (also I would like to use the LOCAL submodule.)
Also, if I just put some garbage key/values for the module, ansible seems happy to just ignore them rather than saying “no parameter jkladfsjkldsf for module foo” I can only conclude that ansible ignores these garbage parameters, or my configuration is not correct.
I’m trying to add a few more parameters to the win_chocolatey module. Previously I was just passing the parameters in with the package name since that seemed to just get passed to the choco command. It worked buy now I’m trying to tackle it “the right way.”
One problem I have is that there are very few people who seem to be very familiar with BOTH chocolatey and ansible. I have just tried contacting Trond Hindenes to that end. So I’ll see what he says…
I use the search path to my closed core and extras and it works, see
if you are correctly pointing at the top directory for either repo.
As for the options, the ansible executable does not check them, this
happens at the module execution using the 'spec', you should get a
message from the module itself (via ansible) when this happens though.