summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/post-osa/vars
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-03-01 16:42:06 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-03-20 10:06:34 +0800
commit9516282c82d34cad3bfc391d5204922ee4620208 (patch)
tree9af126dd0d501ecdb582523fb00efe894a7636af /deploy/adapters/ansible/roles/post-osa/vars
parent743ca540fa2c8688720d9e54142e7ae77970d842 (diff)
Fix workaround of image upload through horizon
1. using horizon group limit 2. set fact openstack_release to hostvars of localhost Change-Id: I0af0da1a508e862d0e2bb975f29897ec2948617f Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/post-osa/vars')
-rw-r--r--deploy/adapters/ansible/roles/post-osa/vars/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/post-osa/vars/main.yml b/deploy/adapters/ansible/roles/post-osa/vars/main.yml
index 95f51530..f5ffa335 100644
--- a/deploy/adapters/ansible/roles/post-osa/vars/main.yml
+++ b/deploy/adapters/ansible/roles/post-osa/vars/main.yml
@@ -1,6 +1,8 @@
---
-os_ver: 16.0.5
+# yamllint disable rule:line-length
+os_ver: "{{ lookup('yamlfile', '/opt/openstack-ansible/group_vars/all/all.yml key=openstack_release') }}"
+# yamllint enable rule:line-length
os_name: pike
# yamllint disable rule:line-length