diff --git a/ansible/install/roles/flavors/tasks/main.yml b/ansible/install/roles/flavors/tasks/main.yml index 7d44e891c..f4c5c5482 100644 --- a/ansible/install/roles/flavors/tasks/main.yml +++ b/ansible/install/roles/flavors/tasks/main.yml @@ -5,6 +5,6 @@ # Ignore errors here incase the flavors already exist. - name: Add flavors to overcloud - shell: . {{ browbeat_venv }}/bin/activate; . {{ overcloudrc }}; nova flavor-create {{item.name}} auto {{item.memory}} {{item.disk}} {{item.cpu}} + shell: . {{ overcloudrc }}; nova flavor-create {{item.name}} auto {{item.memory}} {{item.disk}} {{item.cpu}} with_items: "{{browbeat_flavors}}" ignore_errors: true