Merge "Name unnamed tasks"

This commit is contained in:
Zuul 2018-10-20 08:01:49 +00:00 committed by Gerrit Code Review
commit 3b68405f5a
1 changed files with 3 additions and 3 deletions

View File

@ -345,10 +345,10 @@ outputs:
vars:
netapp_nfs_backend_enable: {get_param: GlanceNetappNfsEnabled}
block:
- name:
- name: Set glance remote_file_path fact
set_fact:
remote_file_path: /etc/glance/glance-metadata-file.conf
- name:
- name: Create glance remote_file_path
file:
path: "{{ remote_file_path }}"
state: touch
@ -361,7 +361,7 @@ outputs:
- NETAPP_SHARE: {get_param: NetappShareLocation}
when:
- file_path.stat.exists == true
- name:
- name: Mount glance Netapp share
mount: name=/var/lib/glance/images src="{{item.NETAPP_SHARE}}" fstype=nfs4 opts="{{item.NFS_OPTIONS}}" state=mounted
with_items:
- NETAPP_SHARE: {get_param: NetappShareLocation}