Such config might be handy in scenarios where user defined scripts
populated with offline-platform require to leverage the full path to
resources directory on infra node.
Change-Id: I5b4468ef7b396d2583ad64255679a29f3ff675b4
Issue-ID: OOM-2835
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
---
resources_on_nfs: false
+resources_cfg_path: /etc/default/resources.cfg
when:
- inventory_hostname in groups.infrastructure
- hostvars[groups.resources.0].to_be_uploaded_resources_list is defined
+
+- name: Store resources location in cfg file
+ template:
+ src: resources.cfg.j2
+ dest: "{{ resources_cfg_path }}"
+ when: inventory_hostname in groups.infrastructure
--- /dev/null
+APP_DATA_PATH={{ app_data_path }}