thanks again Kai for that insight..


On Sat, Dec 9, 2017 at 11:02 PM, Kai Stian Olstad <
ansible-project+l...@olstad.com> wrote:

> On Saturday, 9 December 2017 18.20.07 CET coach rhca wrote:
> >
> > Thanks for replying Kai, if i understand you correctly , git module in
> > anisble doesnot create the parent directory for example if the playbook
> has
> > the below git play
> >  git: repo= git: repo=https://github.com/drush-ops/drush.git
> > dest=/data/gitfiles clone=yes ==> it will not create a drush directory
> > under /data/gitfiles...
>
> Well, it sort of does, it will create /data/gitfiles if it doesn't exist,
> but i doesn't append a directory to dest.
>
>
> > and only when we run @command prompt #git clone
> > https://github.com/drush-ops/drush.git , it will create  a directory
> drush
> > under the present working directory as there was no directory
> mention...so
> > there is no way that we have that directory "drush" created under the
> > directory ...thanks for the help.
>
> Correct, that a feature of git command line tool.
> If you set dest to /data/gitfiles/drush you'll get what you are looking
> for.
> The git-module will create the drush directory if it doesn't exist.
>
>
> --
> Kai Stian Olstad
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/ansible-project/pWbmvUE4s3o/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/ansible-project/3479947.okZUpAXipq%40x1.
> 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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CALguqPJdybk1Uo7gVF6nMPkBqHLMrci84_cw4QeB-%2BFKwHjLLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to