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 ##############################################################################
13 - ../var/{{ ansible_os_family }}.yml
16 - role: remove-folders
17 - { role: clone-repository, project: "opnfv/releng", repo: "{{ OPNFV_RELENG_GIT_URL }}", dest: "{{ OPNFV_RELENG_PATH }}", version: "{{ OPNFV_RELENG_VERSION }}" }
23 - ../var/{{ ansible_os_family }}.yml
26 - name: Synchronize local development releng repository to XCI paths
28 src: "{{ OPNFV_RELENG_DEV_PATH }}"
29 dest: "{{ OPNFV_RELENG_PATH }}"
33 - OPNFV_RELENG_DEV_PATH != ""
38 - ../var/{{ ansible_os_family }}.yml
41 - name: create log directory {{LOG_PATH}}
46 # when the deployment is aio, we overwrite and use playbook, configure-opnfvhost.yml, since everything gets installed on opnfv host
47 - name: copy aio playbook
49 src: "{{XCI_FLAVOR_ANSIBLE_FILE_PATH}}/configure-opnfvhost.yml"
50 dest: "{{OPNFV_RELENG_PATH}}/prototypes/xci/playbooks"
51 when: XCI_FLAVOR == "aio"
52 - name: copy flavor inventory
54 src: "{{XCI_FLAVOR_ANSIBLE_FILE_PATH}}/inventory"
55 dest: "{{OPNFV_RELENG_PATH}}/prototypes/xci/playbooks"
56 - name: copy flavor vars
58 src: "{{XCI_FLAVOR_ANSIBLE_FILE_PATH}}/flavor-vars.yml"
59 dest: "{{OPNFV_RELENG_PATH}}/prototypes/xci/var"