diff --git a/ansible/roles/glance/tasks/bootstrap.yml b/ansible/roles/glance/tasks/bootstrap.yml index bb1b30a6df..e06014ba42 100644 --- a/ansible/roles/glance/tasks/bootstrap.yml +++ b/ansible/roles/glance/tasks/bootstrap.yml @@ -47,7 +47,9 @@ image: "{{ glance_api_image_full }}" name: "bootstrap_glance" restart_policy: "never" - volumes: "{{ node_config_directory }}/glance-api/:{{ container_config_directory }}/:ro" + volumes: + - "{{ node_config_directory }}/glance-api/:{{ container_config_directory }}/:ro" + - "glance:/var/lib/glance/" run_once: True delegate_to: "{{ groups['glance-api'][0] }}" when: database_created