From 07d99883b5e5895000fa400da3dfe12dad54c4e9 Mon Sep 17 00:00:00 2001 From: Michal Zegan Date: Thu, 5 Sep 2019 18:36:47 +0200 Subject: 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 --- tools/cicdansible/heat/node.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/cicdansible/heat/node.yaml') diff --git a/tools/cicdansible/heat/node.yaml b/tools/cicdansible/heat/node.yaml index b6048d8d..7f6af35b 100644 --- a/tools/cicdansible/heat/node.yaml +++ b/tools/cicdansible/heat/node.yaml @@ -55,5 +55,5 @@ outputs: 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"]] -- cgit 1.2.3-korg