Fix bind mount of glance images
Bind mount should be created when glance_nfs_client is either undefined OR empty Change-Id: I59b183dc376fd64300d088c9831fe5ea2e7412f0 Closes-Bug: #1638907
This commit is contained in:
parent
2ab8a81cd3
commit
677ceb20a5
@ -25,7 +25,9 @@
|
||||
list_of_bind_mounts:
|
||||
- bind_dir_path: "/var/lib/glance/images"
|
||||
mount_path: "/openstack/{{ inventory_hostname }}"
|
||||
when: (glance_default_store == "file") and (glance_nfs_client is not defined)
|
||||
when:
|
||||
- glance_default_store == "file"
|
||||
- (glance_nfs_client is not defined) or (glance_nfs_client | length == 0)
|
||||
- include: common-tasks/os-lxc-container-setup.yml
|
||||
static: no
|
||||
when: (glance_default_store != "file") or (glance_nfs_client is defined)
|
||||
|
Loading…
Reference in New Issue
Block a user