browbeat/ansible/install/roles/flavors/tasks/main.yml
rajeshP524 f7a91aeca0 Add browbeat installation support for RHOSO
Change-Id: Ibbe80770445a59ff76a58715190e2f4daed1fec0
2024-08-01 21:52:51 +05:30

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