aboutsummaryrefslogtreecommitdiffstats
path: root/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-config-files.yml
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-10-19 18:29:01 +0200
committerBrady Johnson <bjohnson@inocybe.com>2018-10-22 07:23:19 +0000
commit03334c4c2cdb42a469b174ffd8718189d5cc8907 (patch)
tree760b54c77d4cd1df8675a643d81dd43ffed8b2a9 /scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-config-files.yml
parent9739f4cfe5ad98ad4811d98e9ae6452f0e55a0be (diff)
Cleanup our ansible role
Our role had some old comments and confusing names which don't make sense anymore. This patches cleans it up Change-Id: Ieb928aad2c1b0bfcfa94b300201e026e11a4c991 Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-config-files.yml')
-rw-r--r--scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-config-files.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-config-files.yml b/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-config-files.yml
new file mode 100644
index 00000000..5d677d1c
--- /dev/null
+++ b/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-config-files.yml
@@ -0,0 +1,20 @@
+---
+#
+
+- name: copy user_sfc_scenarios_variables.yml (SUSE)
+ 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)
+ 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'
+
+# To get the mano_host & metering-infra_hosts variable for inventory
+- name: copy openstack_user_config.yml
+ copy:
+ src: "{{xci_flavor}}/openstack_user_config.yml"
+ dest: "{{openstack_osa_etc_path}}/openstack_user_config.yml"