Merge "Name unnamed tasks"
This commit is contained in:
commit
3b68405f5a
|
@ -345,10 +345,10 @@ outputs:
|
||||||
vars:
|
vars:
|
||||||
netapp_nfs_backend_enable: {get_param: GlanceNetappNfsEnabled}
|
netapp_nfs_backend_enable: {get_param: GlanceNetappNfsEnabled}
|
||||||
block:
|
block:
|
||||||
- name:
|
- name: Set glance remote_file_path fact
|
||||||
set_fact:
|
set_fact:
|
||||||
remote_file_path: /etc/glance/glance-metadata-file.conf
|
remote_file_path: /etc/glance/glance-metadata-file.conf
|
||||||
- name:
|
- name: Create glance remote_file_path
|
||||||
file:
|
file:
|
||||||
path: "{{ remote_file_path }}"
|
path: "{{ remote_file_path }}"
|
||||||
state: touch
|
state: touch
|
||||||
|
@ -361,7 +361,7 @@ outputs:
|
||||||
- NETAPP_SHARE: {get_param: NetappShareLocation}
|
- NETAPP_SHARE: {get_param: NetappShareLocation}
|
||||||
when:
|
when:
|
||||||
- file_path.stat.exists == true
|
- 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
|
mount: name=/var/lib/glance/images src="{{item.NETAPP_SHARE}}" fstype=nfs4 opts="{{item.NFS_OPTIONS}}" state=mounted
|
||||||
with_items:
|
with_items:
|
||||||
- NETAPP_SHARE: {get_param: NetappShareLocation}
|
- NETAPP_SHARE: {get_param: NetappShareLocation}
|
||||||
|
|
Loading…
Reference in New Issue