3423e3c6a3
Other playbooks/roles don't operate within venv. There is no need for this role to. Change-Id: I2ef82db30a22ba34fac1dfed0fcdc1ad5a1ad00b
11 lines
300 B
YAML
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
|