f7a91aeca0
Change-Id: Ibbe80770445a59ff76a58715190e2f4daed1fec0
11 lines
321 B
YAML
11 lines
321 B
YAML
---
|
|
#
|
|
# Add flavors to OpenStack Cloud
|
|
#
|
|
|
|
# Ignore errors here incase the flavors already exist.
|
|
- name: Add flavors to overcloud
|
|
shell: . {{ overcloudrc }}; openstack flavor create --ram {{item.memory}} --disk {{item.disk}} --vcpus {{item.cpu}} {{item.name}}
|
|
with_items: "{{browbeat_flavors}}"
|
|
ignore_errors: true
|