kolla-ansible/ansible/roles/horizon/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

17 lines
589 B
YAML

---
- name: Cloning Horizon source repositories for development
git:
repo: "{{ horizon_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"
update: "{{ horizon_dev_repos_pull }}"
version: "{{ horizon_source_version }}"
- name: Cloning murano-dashboard source repositories for development
git:
repo: "{{ murano_dashboard_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/murano-dashboard"
update: "{{ horizon_dev_repos_pull }}"
version: "{{ horizon_murano_source_version }}"
when:
- horizon_murano_dev_mode | bool