aboutsummaryrefslogtreecommitdiffstats
path: root/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files-master.yml
blob: 80e3ac016c97a5ce9fe866ef32f446a09118e7aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
#

- 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'

# 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"