Adding Git review
[releng-xci-scenarios.git] / scenarios / os-odl-nofeature / role / os-odl-nofeature / tasks / main.yml
1 ---
2 # SPDX-license-identifier: Apache-2.0
3 ##############################################################################
4 # Copyright (c) 2017 Ericsson AB and others.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10
11 - name: copy user_variables_os-odl-nofeature.yml
12   template:
13     src: "user_variables_os-odl-nofeature.yml.j2"
14     dest: "{{openstack_osa_etc_path}}/user_variables_os-odl-nofeature.yml"
15
16 - name: copy user_variables_os-odl-nofeature-ha.yml
17   copy:
18     src: "{{xci_flavor}}/user_variables_os-odl-nofeature-ha.yml"
19     dest: "{{openstack_osa_etc_path}}/user_variables_os-odl-nofeature-ha.yml"
20   when:
21   - xci_flavor == "ha"
22
23 - name: copy os-odl-nofeature scenario specific openstack_user_config.yml
24   copy:
25     src: "{{xci_flavor}}/openstack_user_config.yml"
26     dest: "{{openstack_osa_etc_path}}/openstack_user_config.yml"