Name unnamed tasks
These tasks had an empty name field, which breaks ansible's --start-at-task functionality with a traceback, as it's not valid to have unnamed tasks. Change-Id: I2386da62a87bfc290070fce13c2d35290565478a
This commit is contained in:
parent
b76a36eca1
commit
538c894317
|
@ -347,10 +347,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
|
||||||
|
@ -363,7 +363,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