kolla-ansible/ansible/roles/ironic/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
527 B
YAML

---
- name: Cloning ironic source repository for development
git:
repo: "{{ ironic_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"
update: "{{ ironic_dev_repos_pull }}"
version: "{{ ironic_source_version }}"
- name: Cloning ironic-inspector source repository for development
git:
repo: "{{ ironic_inspector_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/ironic-inspector"
update: "{{ ironic_dev_repos_pull }}"
version: "{{ ironic_source_version }}"