browbeat/ansible/install/roles/flavors/tasks/main.yml
Sai Sindhur Malleni 3423e3c6a3 Remove unneeded sourcing of browbeat-venv
Other playbooks/roles don't operate within venv. There is no need
for this role to.

Change-Id: I2ef82db30a22ba34fac1dfed0fcdc1ad5a1ad00b
2019-03-02 15:18:49 -05:00

11 lines
300 B
YAML

---
#
# Add flavors to OpenStack Cloud
#
# Ignore errors here incase the flavors already exist.
- name: Add flavors to overcloud
shell: . {{ overcloudrc }}; nova flavor-create {{item.name}} auto {{item.memory}} {{item.disk}} {{item.cpu}}
with_items: "{{browbeat_flavors}}"
ignore_errors: true