summaryrefslogtreecommitdiffstats
path: root/scenarios/os-odl-bgpvpn/role/os-odl-bgpvpn/tasks/main.yml
blob: 1e434349a2c93a85736ce40cb82f2c8b1f77d920 (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
31
32
33
34
35
36
37
38
39
---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2017-18 Ericsson AB and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

- name: copy user_variables_os-odl-bgpvpn.yml
  copy:
    src: "user_variables_os-odl-bgpvpn.yml"
    dest: "{{OPENSTACK_OSA_ETC_PATH}}/user_variables_os-odl-bgpvpn.yml"

- name: copy user_variables_os-odl-bgpvpn-ha.yml
  copy:
    src: "{{XCI_FLAVOR}}/user_variables_os-odl-bgpvpn-ha.yml"
    dest: "{{OPENSTACK_OSA_ETC_PATH}}/user_variables_os-odl-bgpvpn-ha.yml"
  when:
  - XCI_FLAVOR == "ha"

- name: copy os-odl-bgpvpn scenario specific openstack_user_config.yml
  copy:
    src: "{{XCI_FLAVOR}}/openstack_user_config.yml"
    dest: "{{OPENSTACK_OSA_ETC_PATH}}/openstack_user_config.yml"

- name: copy os-odl-bgpvpn scenario specific setup-openstack.yml
  copy:
    src: "setup-openstack.yml"
    dest: "{{OPENSTACK_OSA_PATH}}/playbooks"

- name: Copy the OSA not-yet-upstreamed files for Pike
  include: add-osa-files-pike.yml
  when: OPENSTACK_OSA_VERSION == "stable/pike"

- name: Copy the OSA not-yet-upstreamed inventory files for Pike
  include: add-inventory-files-pike.yml
  when: OPENSTACK_OSA_VERSION == "stable/pike"