Change the way how volume map is constructed

This commit modifies volume handling in heat template in cicdansible.
Namely, it simplifies the generation of node to volume list mapping and makes it
more readable and understandable, and also
more flexible, because now parts of it could be
conditionalized. This is required for a followup commit.

Change-Id: I204aefd819f40050a2cb9e6a031dfb2c62da1f48
Issue-ID: OOM-2042
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
diff --git a/tools/cicdansible/heat/node.yaml b/tools/cicdansible/heat/node.yaml
index b6048d8..7f6af35 100644
--- a/tools/cicdansible/heat/node.yaml
+++ b/tools/cicdansible/heat/node.yaml
@@ -55,5 +55,5 @@
     value: { get_attr: ["instance", "port_id"] }
   ip:
     value: { get_attr: ["instance", "ip"] }
-  docker_storage_id:
-    value: { get_resource: docker_storage }
+  volumes:
+    value: [[{ get_resource: docker_storage }, "/var/lib/docker"]]