Fix volumes_from for the ansible playbooks

Change-Id: Ib4b563d20d8e5ea5b81fb89e9ee4943487d7e6cd
Closes-Bug: #1485297
This commit is contained in:
Sam Yaple 2015-08-16 09:10:58 +00:00
parent 9bd3ea7207
commit a6f3a1073a
3 changed files with 6 additions and 3 deletions

View File

@ -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 }}"

View File

@ -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 }}"

View File

@ -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']