kolla-ansible/ansible/roles/kuryr/tasks/clone.yml
MinSun 12f4554330 Support checkout dedicated version from git with dev mode
Now kolla dev mode only support clone master branch from git,
add version tag to support clone dedicated branch.

Change-Id: I88de238e5dc7461ba0662a3ecea9a2d80fd0db60
2018-08-14 16:06:00 +08:00

15 lines
534 B
YAML

---
- name: Cloning kuryr source repository for development
git:
repo: "{{ kuryr_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"
update: "{{ kuryr_dev_repos_pull }}"
version: "{{ kuryr_source_version }}"
- name: Cloning kuryr-libnetwork source repository for development
git:
repo: "{{ kuryr_libnetwork_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ libnetwork_project_name }}"
update: "{{ kuryr_dev_repos_pull }}"
version: "{{ kuryr_source_version }}"