does anyone succeeded to use the git module on windows ?

Hi guys,

I’ve been struggling with this one for a while now. I am able to use all the windows extra module, but each time that I am running a task using the git module on a windows host this is the output i am receiving:

TASK: [pulling out code from github repo] *************************************

fatal: [tool_windows] => module git not found in configured module paths. Additionally, core modules are missing. If this is a checkout, run ‘git submodule update --init --recursive’ to correct this problem.

FATAL: all hosts have already failed – aborting

I tried the solution proposing to use the callback_plugins folder, but without any success.

Does anybody already succeeded to run this module on windows ? Is it even possible ?

I am using ansible 1.9.3 on a macbook with yosemite (I installing ansible on it using pip) , my host is a windows 7 enterprise with powershell 3.5 installed.

Thanks in advance

Jonathann.

Does anybody already succeeded to run this module on windows ? Is it even possible ?

There is no git module in the windows modules group https://docs.ansible.com/ansible/list_of_windows_modules.html . Apart from the modules listed on that page only script, slurp, raw and setup are mentioned on https://docs.ansible.com/ansible/intro_windows.html#what-modules-are-available as working on windows.

Cheers,
Paul

thanks Paul , this made a lot of things clearer