ansible download project from gitlib

I have a project in gitlab that contains config files for an application. I need to download the files using ansible. I don’t really want to download each file, because they are in different directory and they may change. Is there a way in ansible to download the project or at least down load the directories. Right now when I try to download, all I get are files not directories.

thanks

The git module.