kolla-ansible/ansible/roles/ironic/tasks/clone.yml
Michal Nasiadka f5b3f9d22b ironic: fix dev mode for inspector
Change-Id: I1649a389bdc3977b936402c3ce3e55056d74ba08
2023-03-15 09:44:35 +00:00

18 lines
608 B
YAML

---
- name: Cloning ironic source repository for development
become: true
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
become: true
git:
repo: "{{ ironic_inspector_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/ironic-inspector"
update: "{{ ironic_dev_repos_pull }}"
version: "{{ ironic_inspector_source_version }}"
when: ironic_inspector_dev_mode | bool