01858ea602
It's also very helpful to have the region in the task name when you have multiple regions for a cloud. Change-Id: I85c0769bb2332a91aa759fb90223ec812dc3e77d
14 lines
718 B
YAML
14 lines
718 B
YAML
---
|
|
- name: "Processing volume {{ item_volume.name }} for {{ item_cloud.oscc_cloud|default(item_cloud.name) }} {{ item_cloud.region_name|default('') }}"
|
|
os_volume:
|
|
cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
|
|
state: "{{ item_volume.state|default(omit) }}"
|
|
name: "{{ item_volume.name }}"
|
|
size: "{{ item_volume.size }}"
|
|
display_description: "{{ item_volume.display_description|default(omit) }}"
|
|
image: "{{ item_volume.image|default(omit) }}"
|
|
key: "{{ item_volume.key|default(omit) }}"
|
|
snapshot_id: "{{ item_volume.snapshot_id|default(omit) }}"
|
|
volume_type: "{{ item_volume.volume_type|default(omit) }}"
|
|
region_name: "{{ item_cloud.region_name|default(omit) }}"
|