aboutsummaryrefslogtreecommitdiffstats
path: root/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files-master.yml
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-04-03 11:49:09 +0200
committerManuel Buil <mbuil@suse.com>2018-04-12 15:26:20 +0200
commit437368fe23c82fc4a344e4044363adb44e529fdf (patch)
tree55c5a074ac8a6eb26c0d6a4f0403c19571e1c2b1 /scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files-master.yml
parentcc16df5b8317d46e06f4331edf602eaa2a77acbf (diff)
Provide support for different ODL versions
We should be able to deploy with different ODL versions if the user defines the ODL_VERSION variable when deploying XCI. Change-Id: Ied20959116fed19bf4445f1544883ed0dc579dfb Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files-master.yml')
-rw-r--r--scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files-master.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files-master.yml b/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files-master.yml
index 5ffebee6..fbaa7301 100644
--- a/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files-master.yml
+++ b/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files-master.yml
@@ -2,14 +2,14 @@
#
- name: copy user_sfc_scenarios_variables.yml (SUSE)
- copy:
- src: "{{xci_flavor}}/user_sfc_scenarios_variables_suse.yml"
+ template:
+ src: "{{xci_flavor}}/user_sfc_scenarios_variables_suse.yml.j2"
dest: "{{openstack_osa_etc_path}}/user_sfc_scenarios_variables.yml"
when: ansible_pkg_mgr == 'zypper'
- name: copy user_sfc_scenarios_variables.yml (Ubuntu)
- copy:
- src: "{{xci_flavor}}/user_sfc_scenarios_variables_ubuntu.yml"
+ template:
+ src: "{{xci_flavor}}/user_sfc_scenarios_variables_ubuntu.yml.j2"
dest: "{{openstack_osa_etc_path}}/user_sfc_scenarios_variables.yml"
when: ansible_pkg_mgr == 'apt'