diff options
Diffstat (limited to 'inventory')
-rw-r--r-- | inventory/.keep | 0 | ||||
-rw-r--r-- | inventory/group_vars/all/global.yaml | 24 | ||||
-rw-r--r-- | inventory/localhost.ini | 5 |
3 files changed, 29 insertions, 0 deletions
diff --git a/inventory/.keep b/inventory/.keep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/inventory/.keep diff --git a/inventory/group_vars/all/global.yaml b/inventory/group_vars/all/global.yaml new file mode 100644 index 0000000..312fcda --- /dev/null +++ b/inventory/group_vars/all/global.yaml @@ -0,0 +1,24 @@ +--- +# 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 +############################################################################## + +# root directory of kuberef repository +kuberef_root: "{{ lookup('env', 'CURRENTPATH') }}" + +# path to inventory folder where the initial +inventory_path: "{{ kuberef_root }}/inventory" + +# workspace where all work-in-progress files get stored +workspace: "{{ kuberef_root }}/workspace" + +# directory for storing base images acting as backing file +images_path: "{{ kuberef_root }}/images" + +# public SSH key for use by kuberef installation +pub_key: "{{ lookup('env', 'HOME') }}/.ssh/id_rsa.pub" diff --git a/inventory/localhost.ini b/inventory/localhost.ini new file mode 100644 index 0000000..72f71a5 --- /dev/null +++ b/inventory/localhost.ini @@ -0,0 +1,5 @@ +[all:vars] +ansible_ssh_extra_args=' -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null' + +[localhost] +127.0.0.1 ansible_connection=local |