diff --git a/ansible/roles/freezer/defaults/main.yml b/ansible/roles/freezer/defaults/main.yml index 2bf7232816..2c19a7edfe 100644 --- a/ansible/roles/freezer/defaults/main.yml +++ b/ansible/roles/freezer/defaults/main.yml @@ -77,3 +77,4 @@ freezer_git_repository: "{{ kolla_dev_repos_git }}/{{ project_name }}" freezer_api_git_repository: "{{ kolla_dev_repos_git }}/freezer-api" freezer_dev_repos_pull: "{{ kolla_dev_repos_pull }}" freezer_dev_mode: "{{ kolla_dev_mode }}" +freezer_source_version: "{{ kolla_source_version }}" diff --git a/ansible/roles/freezer/tasks/clone.yml b/ansible/roles/freezer/tasks/clone.yml index f51504a34c..5e5c4b1f4e 100644 --- a/ansible/roles/freezer/tasks/clone.yml +++ b/ansible/roles/freezer/tasks/clone.yml @@ -4,9 +4,11 @@ repo: "{{ freezer_git_repository }}" dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}" update: "{{ freezer_dev_repos_pull }}" + version: "{{ freezer_source_version }}" - name: Cloning freezer-api source repository for development git: repo: "{{ freezer_api_git_repository }}" dest: "{{ kolla_dev_repos_directory }}/freezer-api" update: "{{ freezer_dev_repos_pull }}" + version: "{{ freezer_source_version }}" diff --git a/ansible/roles/nova/defaults/main.yml b/ansible/roles/nova/defaults/main.yml index 1ab5eb0cfc..c241ff21a5 100644 --- a/ansible/roles/nova/defaults/main.yml +++ b/ansible/roles/nova/defaults/main.yml @@ -393,3 +393,4 @@ ovs_bridge: "nsx-managed" nova_git_repository: "{{ kolla_dev_repos_git }}/{{ project_name }}" nova_dev_repos_pull: "{{ kolla_dev_repos_pull }}" nova_dev_mode: "{{ kolla_dev_mode }}" +nova_source_version: "{{ kolla_source_version }}" diff --git a/ansible/roles/nova/tasks/clone.yml b/ansible/roles/nova/tasks/clone.yml index 28dd6faeef..e68f7454af 100644 --- a/ansible/roles/nova/tasks/clone.yml +++ b/ansible/roles/nova/tasks/clone.yml @@ -4,3 +4,4 @@ repo: "{{ nova_git_repository }}" dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}" update: "{{ nova_dev_repos_pull }}" + version: "{{ nova_source_version }}" diff --git a/ansible/roles/trove/defaults/main.yml b/ansible/roles/trove/defaults/main.yml index 6dfb89ff73..370d6634b5 100644 --- a/ansible/roles/trove/defaults/main.yml +++ b/ansible/roles/trove/defaults/main.yml @@ -102,3 +102,4 @@ openstack_trove_auth: "{{ openstack_auth }}" trove_git_repository: "{{ kolla_dev_repos_git }}/{{ project_name }}" trove_dev_repos_pull: "{{ kolla_dev_repos_pull }}" trove_dev_mode: "{{ kolla_dev_mode }}" +trove_source_version: "{{ kolla_source_version }}" diff --git a/ansible/roles/trove/tasks/clone.yml b/ansible/roles/trove/tasks/clone.yml index 5837eacf25..c025219158 100644 --- a/ansible/roles/trove/tasks/clone.yml +++ b/ansible/roles/trove/tasks/clone.yml @@ -4,3 +4,4 @@ repo: "{{ trove_git_repository }}" dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}" update: "{{ trove_dev_repos_pull }}" + version: "{{ trove_source_version }}"