aboutsummaryrefslogtreecommitdiffstats
path: root/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files-master.yml
blob: f58de4c2b2099c80f7d0d086e630c52129d58d97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
#

- name: copy user_sfc_scenarios_variables.yml (SUSE)
  copy:
    src: "{{XCI_FLAVOR}}/user_sfc_scenarios_variables_suse.yml"
    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"
    dest: "{{OPENSTACK_OSA_ETC_PATH}}/user_sfc_scenarios_variables.yml"
  when: ansible_pkg_mgr == 'apt'

- name: copy OPNFV role requirements
  copy:
    src: "ansible-role-requirements-master.yml"
    dest: "{{OPENSTACK_OSA_PATH}}/ansible-role-requirements.yml"

- name: copy openstack_services.yml with tacker
  copy:
    src: "tacker_files/openstack_services_master.yml"
    dest: "{{OPENSTACK_OSA_PATH}}/playbooks/defaults/repo_packages/openstack_services.yml"

# To get the mano_host variable (can only be defined here for the inventory)
- 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"