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
9 lines
399 B
YAML
9 lines
399 B
YAML
---
|
|
- name: "Processing quotas for project {{ item_quota.name }} in {{ item_cloud.name }} {{ item_cloud.region_name|default('') }}"
|
|
command: openstack quota set --"{{ item.key }}" "{{ item.value }}" "{{ item_quota.name }}"
|
|
environment:
|
|
OS_CLOUD: "{{ item_cloud.name }}"
|
|
OS_REGION_NAME: "{{ item_cloud.region_name|default('')}}"
|
|
with_dict: "{{ item_quota }}"
|
|
when: item.key != 'name'
|