Add initial config to support deployments on VMs
[kuberef.git] / inventory / group_vars / all / global.yaml
index 312fcda..1474d03 100644 (file)
@@ -1,12 +1,8 @@
 ---
-# SPDX-license-identifier: Apache-2.0
-##############################################################################
-# Copyright (c) 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
-##############################################################################
+
+# SPDX-FileCopyrightText: 2021 Ericsson AB and others
+#
+# SPDX-License-Identifier: Apache-2.0
 
 # root directory of kuberef repository
 kuberef_root: "{{ lookup('env', 'CURRENTPATH') }}"
@@ -22,3 +18,12 @@ images_path: "{{ kuberef_root }}/images"
 
 # public SSH key for use by kuberef installation
 pub_key: "{{ lookup('env', 'HOME') }}/.ssh/id_rsa.pub"
+
+# deployment type for kuberef
+deployment_type: "{{ lookup('env', 'DEPLOYMENT') }}"
+
+# OS distro from DISTRO from environment variables
+os_distro: "{{ lookup('env', 'DISTRO') }}"
+
+# Vendor name from hw_config folder (used for VM specific changes)
+vendor: "{{ lookup('env', 'VENDOR') }}"