[CORD-1360] Adding xos_dir to xos_config

Change-Id: If67ac7bf5462a6ef4dfa493eb345f9325ca43547
diff --git a/roles/cord-profile/defaults/main.yml b/roles/cord-profile/defaults/main.yml
index e0f2de0..7c25a49 100644
--- a/roles/cord-profile/defaults/main.yml
+++ b/roles/cord-profile/defaults/main.yml
@@ -59,6 +59,7 @@
 xos_logging_channels:
       - file
       - console
+xos_dir: /opt/xos
 
 # GUI Config [new GUI], used in app.config.js.j2 and style.config.js.j2
 gw_port: 3000
diff --git a/roles/cord-profile/templates/xos_config.yaml.j2 b/roles/cord-profile/templates/xos_config.yaml.j2
index 340d32c..571c490 100644
--- a/roles/cord-profile/templates/xos_config.yaml.j2
+++ b/roles/cord-profile/templates/xos_config.yaml.j2
@@ -8,4 +8,5 @@
   channels:
 {% for channel in xos_logging_channels %}
     - {{ channel }}
-{% endfor %}
\ No newline at end of file
+{% endfor %}
+xos_dir: {{ xos_dir }}
\ No newline at end of file