From 3423e3c6a3c10a3193341920adb2cc538a5b42cb Mon Sep 17 00:00:00 2001 From: Sai Sindhur Malleni Date: Sat, 2 Mar 2019 15:18:49 -0500 Subject: [PATCH] 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 --- ansible/install/roles/flavors/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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