Hi,

You simply can't. Git module is supposed to be used to manage git
**checkouts** of repositories.
However command module can be useful  for you

- command: git init {{ repository }}

-- 
Best, Igor

On Fri, Jan 13, 2017 at 3:08 PM, SwApNiL PATIL <[email protected]> wrote:
> Hello All ,
>
> I am only able to clone the repository from Git with the help of Git module
> of Ansible. I am able to create new repository from shell and attach that
> shell script to Ansible.
> But I want to know can I create new repository in Git from ansible directly
> with the help of Git module of Ansible ?
>
> Your help is much appreciated.
>
> Thanks,
> Swapnil Patil.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/8e7df72a-2a0c-47d3-903e-5002c210cc3c%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAGuansp%2BgjoeC8%3DAGoeiamUhHDjqw4RFA1o%2BkPxNhuHhDqQPaw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to