does anyone succeeded to use the git module on windows ?

500 views
Skip to first unread message

john zenou

unread,
Sep 24, 2015, 12:23:02 PM9/24/15
to Ansible Project
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.

Paul Tötterman

unread,
Sep 25, 2015, 10:10:15 AM9/25/15
to Ansible Project

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

john zenou

unread,
Sep 27, 2015, 9:28:30 AM9/27/15
to Ansible Project
thanks Paul , this made a lot of things clearer
Reply all
Reply to author
Forward
0 new messages