aboutsummaryrefslogtreecommitdiffstats
path: root/scenarios/os-odl-nofeature/role
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-05-16 20:30:39 +0200
committerManuel Buil <mbuil@suse.com>2018-05-17 12:28:53 +0200
commit0b7afadb50b7b471c1fe7d93f76f7a3a92a007a5 (patch)
tree1aa5309220d74d0411635cac6e80bb16569dc222 /scenarios/os-odl-nofeature/role
parentd013255d33d28ac70c6276a81a3129c83d441740 (diff)
Bug fix: initialize ODL_VERSION6.0.1
When doing the ansible lookup, if the variable does not exist, an empty string is returned. That is a bug which must be fixed: https://github.com/ansible/ansible/issues/17329 Until then, we initialize the variable Change-Id: I92c43d15559600ff1583e1560c032377dc22793c Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'scenarios/os-odl-nofeature/role')
-rw-r--r--scenarios/os-odl-nofeature/role/os-odl-nofeature/vars/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/scenarios/os-odl-nofeature/role/os-odl-nofeature/vars/main.yml b/scenarios/os-odl-nofeature/role/os-odl-nofeature/vars/main.yml
new file mode 100644
index 0000000..629b50c
--- /dev/null
+++ b/scenarios/os-odl-nofeature/role/os-odl-nofeature/vars/main.yml
@@ -0,0 +1,2 @@
+---
+odl_repo_version: "{{ lookup('env','ODL_VERSION') }}"