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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2017 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
##############################################################################
# This file is used for reflecting the environment variables set in various places
# that are used in ansible playbooks/roles. Only the variables used within ansible
# playbooks/roles should exist in this file.
# openstack/bifrost variables
openstack_bifrost_git_url: "{{ lookup('env','OPENSTACK_BIFROST_GIT_URL') }}"
openstack_bifrost_version: "{{ lookup('env','OPENSTACK_BIFROST_VERSION') }}"
openstack_bifrost_dev_path: "{{ lookup('env','OPENSTACK_BIFROST_DEV_PATH') }}"
# openstack/openstack-ansible variables
openstack_osa_git_url: "{{ lookup('env','OPENSTACK_OSA_GIT_URL') }}"
openstack_osa_version: "{{ lookup('env','OPENSTACK_OSA_VERSION') }}"
openstack_osa_dev_path: "{{ lookup('env','OPENSTACK_OSA_DEV_PATH') }}"
openstack_osa_path: "{{ lookup('env','OPENSTACK_OSA_PATH') }}"
openstack_osa_etc_path: "{{ lookup('env','OPENSTACK_OSA_ETC_PATH') }}"
openstack_osa_openrc_git_url: "{{ lookup('env', 'OPENSTACK_OSA_OPENRC_GIT_URL') }}"
openstack_osa_haproxy_git_url: "{{ lookup('env','OPENSTACK_OSA_HAPROXY_GIT_URL') }}"
# kubespray variables
kubespray_git_url: "{{ lookup('env','KUBESPRAY_GIT_URL') }}"
kubespray_version: "{{ lookup('env','KUBESPRAY_VERSION') }}"
xci_kube_ansible_pip_version: "{{ lookup('env','XCI_KUBE_ANSIBLE_PIP_VERSION') }}"
# openstack-helm variables
osh_git_url: "{{ lookup('env','OSH_GIT_URL') }}"
osh_version: "{{ lookup('env','OSH_VERSION') }}"
osh_infra_git_url: "{{ lookup('env','OSH_INFRA_GIT_URL') }}"
osh_infra_version: "{{ lookup('env','OSH_INFRA_VERSION') }}"
osh_helm_binary_url: "{{ lookup('env','OSH_HELM_BINARY_URL') }}"
osh_helm_binary_version: "{{ lookup('env','OSH_HELM_BINARY_VERSION') }}"
openstack_osh_version: "{{ lookup('env','OPENSTACK_OSH_VERSION') }}"
# variables for other components
keepalived_git_url: "{{ lookup('env','KEEPALIVED_GIT_URL') }}"
haproxy_version: "{{ lookup('env','HAPROXY_VERSION') }}"
keepalived_version: "{{ lookup('env','KEEPALIVED_VERSION') }}"
# xci variables
xci_cache: "{{ lookup('env', 'XCI_CACHE') }}"
xci_flavor: "{{ lookup('env','XCI_FLAVOR') }}"
xci_flavor_ansible_file_path: "{{ lookup('env','XCI_FLAVOR_ANSIBLE_FILE_PATH') }}"
xci_distro: "{{ lookup('env', 'XCI_DISTRO') }}"
xci_scenarios_cache: "{{ lookup('env', 'XCI_SCENARIOS_CACHE') }}"
xci_ssl_subject: "{{ lookup('env', 'XCI_SSL_SUBJECT') }}"
xci_ceph_enabled: "{{ lookup('env', 'XCI_CEPH_ENABLED') }}"
log_path: "{{ lookup('env','LOG_PATH') }}"
opnfv_ssh_host_keys_path: "{{ lookup('env', 'OPNFV_SSH_HOST_KEYS_PATH') }}"
run_tempest: "{{ lookup('env', 'RUN_TEMPEST') }}"
core_openstack_install: "{{ lookup('env', 'CORE_OPENSTACK_INSTALL') }}"
deploy_scenario: "{{ lookup('env','DEPLOY_SCENARIO') }}"
installer_type: "{{ lookup('env','INSTALLER_TYPE') }}"
osh_distro: "{{ lookup('env', 'OSH_DISTRO') }}"
# baremetal variables
baremetal: "{{ lookup('env','BAREMETAL') }}"
|