dokku / ansible-dokku

Ansible modules for installing and configuring Dokku
MIT License
176 stars 44 forks source link

dokku_clone: add `version` parameter? #88

Closed ltalirz closed 3 years ago

ltalirz commented 4 years ago

Description of problem

So far, the dokku_clone module supports only app and repository parameters. Providing a path to a git repository will check out the default branch, thus making deploys not reproducible.

Expected Results

I didn't try whether one can pass a URL to a specific commit/tag (maybe that could also work?), but it seems to me that the usual approach in ansible is a version parameter (see git module).

josegonzalez commented 4 years ago

Last argument is here: https://github.com/crisward/dokku-clone#cloning-branches-and-tags