Fixed wrong when condition in mounting staging location
Just a string(when: glance_staging_nfs_share) as done in [1] without any comparison in when condition is not working. Adding comparision to non empty string to fix this. [1] https://review.openstack.org/#/c/569970/1..2/puppet/services/glance-api.yaml@377 Change-Id: Ie6dc460e3853bc4ecce50e5294903a837d38b546
This commit is contained in:
parent
5789a9694a
commit
22645d3856
@ -383,7 +383,7 @@ outputs:
|
||||
glance_nfs_options: {get_param: GlanceStagingNfsOptions}
|
||||
# Gleaning mount point by stripping "file://" prefix from staging uri
|
||||
mount: name="{{glance_node_staging_uri[7:]}}" src="{{glance_staging_nfs_share}}" fstype=nfs opts="{{glance_nfs_options}}" state=mounted
|
||||
when: glance_staging_nfs_share
|
||||
when: glance_staging_nfs_share != ''
|
||||
|
||||
upgrade_tasks:
|
||||
- name: Check if glance_api is deployed
|
||||
|
Loading…
Reference in New Issue
Block a user