Git module: How to provide a config setting when cloning a repository

13 views
Skip to first unread message

Jürgen Haas

unread,
Oct 31, 2016, 3:28:12 AM10/31/16
to Ansible Project
I wonder if it's possible to provide some config values when initially cloning a repository. The command line would look like this:

git clone -b 2.17.0 --recurse-submodules --config filter.lfs.smudge=true https://github.com/piwik/piwik.git

Using the git_config module doesn't seem to be an option because I only need that setting for one specific working copy and the destination directory does not yet exist at this time.
Reply all
Reply to author
Forward
0 new messages