blob: 7474995e3b5766459c3c4878c627cf47288f7d41 [file] [log] [blame]
---
# ============LICENSE_START=======================================================
# Copyright (C) 2019 The Nordix Foundation. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# ============LICENSE_END=========================================================
bifrost_inventory_source: "{{ lookup('env', 'BIFROST_INVENTORY_SOURCE') | default('/tmp/baremetal.yml', true) }}"
node_default_groups: "{{ lookup('env', 'DEFAULT_HOST_GROUPS').split() | default(['baremetal'], true) }}"
# diskimage-builder variables
# download_ipa is set to false as we don't want bifrost itself to download it
download_ipa: "{{ lookup('env', 'BIFROST_DOWNLOAD_IPA') | default('false', true) }}"
dib_os_packages: "{{ lookup('env', 'DIB_OS_PACKAGES') | default('vim,less,bridge-utils,language-pack-en,iputils-ping,rsyslog,curl,iptables', true) }}"
# create_ipa_image is set to true which will enable us to use prebuilt image
create_ipa_image: "{{ lookup('env', 'BIFROST_CREATE_IPA') | default('true', true) }}"
ipa_dib_os_element: "{{ lookup('env', 'IPA_DIB_OS_ELEMENT') | default('coreos', true) }}"
# this variable is set to false by default in order to ensure the deployment image is built if
# running outside of CI/CD. If it is run as part of CI/CD, it will be overriden within job to
# download and use a prebuilt deployment image.
use_prebuilt_deployment_image: "{{ lookup('env', 'USE_PREBUILT_DEPLOYMENT_IMAGE') | default('false', true) }}"
# url to repository on arm where the images will be downloaded from
# it needs to be overriden if running outside of Nordix CI/CD
arm_url: "{{ lookup('env', 'ARM_URL') | default('https://artifactory.nordix.org/artifactory/cloud-infra/dib', true) }}"
# prebuilt images
deployment_image: "{{ arm_url }}/deployment_image/{{ distro }}/deployment_image.qcow2"
ipa_initramfs: "{{ arm_url }}/ipa_image/{{ ipa_dib_os_element }}/ipa.initramfs"
ipa_vmlinuz: "{{ arm_url }}/ipa_image/{{ ipa_dib_os_element }}/ipa.vmlinuz"
# vim: set ts=2 sw=2 expandtab: