From a6f3a1073a50049e505f12c202f6acbb7f042281 Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Sun, 16 Aug 2015 09:10:58 +0000 Subject: [PATCH] Fix volumes_from for the ansible playbooks Change-Id: Ib4b563d20d8e5ea5b81fb89e9ee4943487d7e6cd Closes-Bug: #1485297 --- ansible/roles/cinder/tasks/bootstrap.yml | 3 ++- ansible/roles/glance/tasks/bootstrap.yml | 3 ++- ansible/roles/glance/tasks/start.yml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ansible/roles/cinder/tasks/bootstrap.yml b/ansible/roles/cinder/tasks/bootstrap.yml index 3a6062e9a1..2fc62c2e9f 100644 --- a/ansible/roles/cinder/tasks/bootstrap.yml +++ b/ansible/roles/cinder/tasks/bootstrap.yml @@ -59,7 +59,8 @@ name: bootstrap_cinder image: "{{ cinder_api_image_full }}" volumes: "{{ node_config_directory }}/cinder/:/opt/kolla/cinder/:ro" - volumes_from: cinder_data + volumes_from: + - cinder_data env: KOLLA_BOOSTRAP: KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}" diff --git a/ansible/roles/glance/tasks/bootstrap.yml b/ansible/roles/glance/tasks/bootstrap.yml index 1125315183..f8d3c6534d 100644 --- a/ansible/roles/glance/tasks/bootstrap.yml +++ b/ansible/roles/glance/tasks/bootstrap.yml @@ -59,7 +59,8 @@ name: bootstrap_glance image: "{{ glance_api_image_full }}" volumes: "{{ node_config_directory }}/glance-api/:/opt/kolla/glance-api/:ro" - volumes_from: glance_data + volumes_from: + - glance_data env: KOLLA_BOOTSTRAP: KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}" diff --git a/ansible/roles/glance/tasks/start.yml b/ansible/roles/glance/tasks/start.yml index 3d73069169..755526249d 100644 --- a/ansible/roles/glance/tasks/start.yml +++ b/ansible/roles/glance/tasks/start.yml @@ -14,7 +14,8 @@ name: glance_registry image: "{{ glance_registry_image_full }}" volumes: "{{ node_config_directory }}/glance-registry/:/opt/kolla/glance-registry/:ro" - volumes_from: glance_data + volumes_from: + - glance_data env: KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}" when: inventory_hostname in groups['glance-registry']