From e7f531c6492e526d67d7d0fe6d4b616629a27930 Mon Sep 17 00:00:00 2001 From: Joe Talerico Date: Tue, 16 Aug 2016 09:43:22 -0400 Subject: [PATCH] Rally version in group_vars Right now we pin the rally version in the playbook. This patch removes the pinning from the Playbook, so we can simply update group_vars to change the Rally version Change-Id: I30abccfbe85e4b4b5767efd32ffcc2d8662b35e3 --- ansible/install/group_vars/all.yml | 3 +++ ansible/install/roles/browbeat/tasks/main.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ansible/install/group_vars/all.yml b/ansible/install/group_vars/all.yml index bbd508989..b7bcc7304 100644 --- a/ansible/install/group_vars/all.yml +++ b/ansible/install/group_vars/all.yml @@ -25,6 +25,9 @@ browbeat_venv: /home/stack/browbeat-venv # The default Rally venv rally_venv: /home/stack/rally-venv +# Rally version to install +rally_version: 0.5.0 + # The default Shaker venv shaker_venv: /home/stack/shaker-venv diff --git a/ansible/install/roles/browbeat/tasks/main.yml b/ansible/install/roles/browbeat/tasks/main.yml index 3e57029d1..2957f7927 100644 --- a/ansible/install/roles/browbeat/tasks/main.yml +++ b/ansible/install/roles/browbeat/tasks/main.yml @@ -114,7 +114,7 @@ virtualenv={{ perfkit_venv }} - name: Install rally into rally-venv - pip: name=rally version=0.5.0 virtualenv={{ rally_venv }} + pip: name=rally version={{ rally_version }} virtualenv={{ rally_venv }} - name: Setup rally database shell: . {{ rally_venv }}/bin/activate; rally-manage db recreate