From 7e0d2e5e5c9cad5be2091d7a973dc2b5abf4d561 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Tue, 29 Jan 2019 16:42:06 +0100 Subject: [PATCH] Use an env lookup to determine the OSA version This is about as fast as the current static code, and doesn't require bumping at every release. Change-Id: I75657c6dae2c6246ec2513f4ec452a4c354d638b --- inventory/group_vars/all/all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory/group_vars/all/all.yml b/inventory/group_vars/all/all.yml index 332b845af3..1c997c6c2b 100644 --- a/inventory/group_vars/all/all.yml +++ b/inventory/group_vars/all/all.yml @@ -14,7 +14,7 @@ # limitations under the License. ## OpenStack Source Code Release -openstack_release: 19.0.0.0b1 +openstack_release: "{{ lookup('env', 'OSA_VERSION') | default('undefined', true) }}" ## Verbosity Options debug: False