Hi guys! I stuck on the cloning the git content without the folder itself.
I am using the task like:
git: repo=git@bitbucket.org:project/someRepo.git dest=/var/www accept_hostkey=yes version=someVersion force=yes
and I am getting the someRepo folder in /var/www, but I need the someRepo content without the folder itself.
I found the solution on http://stackoverflow.com/questions/6224626/github-clone-contents-of-a-repo-without-folder-itself
but it looks ugly and I can’t use it for both repo creation and repo update. Is there a possibility to solve my problem with ansible git module?