summaryrefslogtreecommitdiffstats
path: root/tools/cicdansible/roles
diff options
context:
space:
mode:
authorMarcin Wilk <m.wilk@samsung.com>2021-08-17 10:41:18 +0200
committerMarcin Wilk <m.wilk@samsung.com>2021-08-17 10:41:18 +0200
commit1a7f62f10daa34d2967ad15bd40162feeb58e4c7 (patch)
treed74b6589e35a2d8bf9a6258996951cd6c587ce76 /tools/cicdansible/roles
parent273244de548fb743654ee930e5ee68a0510f045c (diff)
[ANSIBLE][TOOLS] Fix hardcoded app_data_path
Issue-ID: OOM-2798 Signed-off-by: Marcin Wilk <m.wilk@samsung.com> Change-Id: Ia3733154b9ee016b390a4810ab0918b3528ed662
Diffstat (limited to 'tools/cicdansible/roles')
-rw-r--r--tools/cicdansible/roles/install/defaults/main.yml1
-rw-r--r--tools/cicdansible/roles/install/tasks/install.yml2
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/cicdansible/roles/install/defaults/main.yml b/tools/cicdansible/roles/install/defaults/main.yml
index b21e6323..f74aff1a 100644
--- a/tools/cicdansible/roles/install/defaults/main.yml
+++ b/tools/cicdansible/roles/install/defaults/main.yml
@@ -1,3 +1,4 @@
---
installer_deploy_path: "{{ ansible_user_dir }}/installer"
install_timeout: 10600
+app_data_path: /opt/onap/resources
diff --git a/tools/cicdansible/roles/install/tasks/install.yml b/tools/cicdansible/roles/install/tasks/install.yml
index 5c4bcd81..33af39c2 100644
--- a/tools/cicdansible/roles/install/tasks/install.yml
+++ b/tools/cicdansible/roles/install/tasks/install.yml
@@ -45,7 +45,7 @@
resources_dir: {{ resources_dir }}
resources_filename: {{ resources_filename }}
aux_resources_filename: {{ aux_resources_filename }}
- app_data_path: /opt/onap/resources
+ app_data_path: {{ app_data_path }}
dest: "{{ installer_deploy_path }}/ansible/application/resources.yml"
#Run script.
- name: "Execute installation"