From 1167f11813bcad46f65c4251b19dcb1310edfbe3 Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Sun, 26 Jul 2015 08:12:52 +0000 Subject: [PATCH] Adds glance and nova data volume Change-Id: I179a20e637274659cf6e3b2d8a61ff2728fa084b Closes-Bug: #1478315 --- ansible/roles/glance/tasks/bootstrap.yml | 8 ++++++++ ansible/roles/nova/tasks/bootstrap.yml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/ansible/roles/glance/tasks/bootstrap.yml b/ansible/roles/glance/tasks/bootstrap.yml index 00c8f60a70..a0a405fe67 100644 --- a/ansible/roles/glance/tasks/bootstrap.yml +++ b/ansible/roles/glance/tasks/bootstrap.yml @@ -1,4 +1,12 @@ --- +- include: ../../start.yml + vars: + container_command: "/bin/sleep infinity" + container_image: "{{ docker_glance_api_image_full }}" + container_name: "glance_data" + container_volumes: + - "/var/lib/glance/" + - include: ../../bootstrap.yml vars: container_detach: False diff --git a/ansible/roles/nova/tasks/bootstrap.yml b/ansible/roles/nova/tasks/bootstrap.yml index 39f32a97e6..a42d75bcfa 100644 --- a/ansible/roles/nova/tasks/bootstrap.yml +++ b/ansible/roles/nova/tasks/bootstrap.yml @@ -1,4 +1,12 @@ --- +- include: ../../start.yml + vars: + container_command: "/bin/sleep infinity" + container_image: "{{ docker_nova_api_image_full }}" + container_name: "nova_data" + container_volumes: + - "/var/lib/nova/" + - include: ../../bootstrap.yml vars: container_detach: False