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
10 lines
519 B
YAML
10 lines
519 B
YAML
---
|
|
- name: "Processing keypair {{ item_keypair.name }} for {{ item_cloud.oscc_cloud|default(item_cloud.name) }} {{ item_cloud.region_name|default('') }}"
|
|
os_keypair:
|
|
cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
|
|
state: "{{ item_keypair.state|default(omit) }}"
|
|
name: "{{ item_keypair.name }}"
|
|
public_key: "{{ item_keypair.public_key|default(omit) }}"
|
|
public_key_file: "{{ item_keypair.public_key_file|default(omit) }}"
|
|
region_name: "{{ item_cloud.region_name|default(omit) }}"
|