More default values and simplify onap config
Populate more default values for ansible all.yml configuration
to make it simpler by default for user.
Removed project_configuration variable as it caused just
confusion. Replaced that mostly by using app_name variable.
According to above changed simplified actual configuration
config/application_configuration.yml used to install onap.
Mostly removed repeation of comments.
Also updated ansible/application/README.md that was not
updated for a while.
Issue-ID: OOM-1633
Change-Id: Idcc4c510b64bb61edd874d0e0616cdb41938f2d3
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
diff --git a/build/package.conf b/build/package.conf
index 78da5ea..29ca3cb 100644
--- a/build/package.conf
+++ b/build/package.conf
@@ -21,7 +21,8 @@
# E.g. in case of ONAP oom repo it will be the content of kubernetes directory.
# NOTE: Leaving this variable commented out will mean that no Helm application will be installed to
# offline Kubernetes cluster. This may be sometimes wanted.
-#HELM_CHARTS_DIR=~/myclones/casablanca_oom/
+#HELM_CHARTS_DIR=<oom-clone>/kubernetes
+HELM_CHARTS_DIR=/tmp/oom-clone/kubernetes
#####################################
# Application install configuration #
@@ -51,6 +52,10 @@
# <offline-installer-clone>/patches/onap-casablanca-patch-role
# ~/myappfiles/my-post-install-role
#)
+APP_CONFIGURATION=(
+ /tmp/offline-installer/config/application_configuration.yml
+ /tmp/offline-installer/patches/onap-casablanca-patch-role
+)
# APP_BINARY_RESOURCES_DIR is variable to directory containing directories and files for offline
# installer infra and the the application run in that infra.
@@ -63,6 +68,7 @@
# pkg ... directory with rpm/deb packages mainly for offline infra
# nexus_data.tar ... tar file with pre-generated nexus blobs containing e.g. docker images for the application.
#APP_BINARY_RESOURCES_DIR=~/myappfiles/all_binaries
+APP_BINARY_RESOURCES_DIR=/tmp/onap-offline/resources
# APP_AUX_BINARIES is array variable for additional application files.
# Docker images supported currently in tar format.
@@ -70,3 +76,5 @@
# ~/myappfiles/docker_images_populated_runtime/aaa-component-0.0.1.tar
# ~/myappfiles/docker_images_populated_runtime/xyz-component-0.0.1.tar
#)
+APP_AUX_BINARIES=()
+