From 6e9d48e057bea03dd5914b54e191a745bb730029 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Tue, 3 Oct 2017 11:09:57 +0200 Subject: Add tacker to the scenario role Change-Id: I0d6f48eff3edd7e1117ec0c5f7f16c1de35300d5 Signed-off-by: Manuel Buil (cherry picked from commit 72121b19a9c12961afdfd6ee7d4fe3eff95d8b10) --- .../role/os-odl-sfc/tasks/copy-OSA-files.yml | 51 ++++++++++++++++++++-- 1 file changed, 48 insertions(+), 3 deletions(-) (limited to 'scenarios/os-odl-sfc/role/os-odl-sfc/tasks') diff --git a/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files.yml b/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files.yml index 3821d9d6..5915ba1c 100644 --- a/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files.yml +++ b/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files.yml @@ -1,12 +1,57 @@ --- # -- name: copy user_variables.yml +- name: copy user_sfc_scenarios_variables.yml copy: - src: "{{XCI_FLAVOR}}/user_variables.yml" - dest: "{{OPENSTACK_OSA_ETC_PATH}}/user_variables.yml" + src: "{{XCI_FLAVOR}}/user_sfc_scenarios_variables.yml" + dest: "{{OPENSTACK_OSA_ETC_PATH}}/user_sfc_scenarios_variables.yml" - name: copy OPNFV role requirements copy: src: "ansible-role-requirements.yml" dest: "{{OPENSTACK_OSA_PATH}}/ansible-role-requirements.yml" + +- name: copy openstack_user_config.yml + copy: + src: "tacker_files/{{XCI_FLAVOR}}/openstack_user_config.yml" + dest: "{{OPENSTACK_OSA_ETC_PATH}}/openstack_user_config.yml" + +- name: copy tacker inventory file + copy: + src: "tacker_files/tacker.yml" + dest: "{{OPENSTACK_OSA_ETC_PATH}}/env.d/tacker.yml" + +- name: copy user_secrets.yml for tacker + copy: + src: "tacker_files/user_secrets.yml" + dest: "{{OPENSTACK_OSA_ETC_PATH}}/user_secrets.yml" + +- name: copy haproxy_config.yml for tacker + copy: + src: "tacker_files/haproxy_config.yml" + dest: "{{OPENSTACK_OSA_PATH}}/playbooks/vars/configs/haproxy_config.yml" + +- name: copy openstack_services.yml with tacker + copy: + src: "tacker_files/openstack_services.yml" + dest: "{{OPENSTACK_OSA_PATH}}/playbooks/defaults/repo_packages/openstack_services.yml" + +- name: copy all.yml with tacker stuff + copy: + src: "tacker_files/all.yml" + dest: "{{OPENSTACK_OSA_PATH}}/playbooks/inventory/group_vars/all.yml" + +- name: copy tacker_all.yml + copy: + src: "tacker_files/tacker_all.yml" + dest: "{{OPENSTACK_OSA_PATH}}/playbooks/inventory/group_vars/tacker_all.yml" + +- name: copy setup-openstack.yml + copy: + src: "tacker_files/setup-openstack.yml" + dest: "{{OPENSTACK_OSA_PATH}}/playbooks/setup-openstack.yml" + +- name: copy os-tacker-install.yml + copy: + src: "tacker_files/os-tacker-install.yml" + dest: "{{OPENSTACK_OSA_PATH}}/playbooks/os-tacker-install.yml" -- cgit 1.2.3-korg