summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/config-osa
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/config-osa
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/config-osa')
-rwxr-xr-xdeploy/adapters/ansible/roles/config-osa/tasks/main.yml2
-rw-r--r--deploy/adapters/ansible/roles/config-osa/tasks/set_openstack_release.yml15
2 files changed, 0 insertions, 17 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
index 5f4f2fb2..74d930e2 100755
--- a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
@@ -366,5 +366,3 @@
copy:
src: redhat-7.yml
dest: /etc/ansible/roles/os_tacker/vars/redhat-7.yml
-
-- include: set_openstack_release.yml
diff --git a/deploy/adapters/ansible/roles/config-osa/tasks/set_openstack_release.yml b/deploy/adapters/ansible/roles/config-osa/tasks/set_openstack_release.yml
deleted file mode 100644
index c886eabf..00000000
--- a/deploy/adapters/ansible/roles/config-osa/tasks/set_openstack_release.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-############################################################################
-# Copyright (c) 2018 HUAWEI TECHNOLOGIES CO.,LTD and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
----
-- name: set openstack release
- lineinfile:
- dest: "{{ run_dir }}/group_vars/all"
- line: "openstack_release: {{ openstack_release }}"
-
-- meta: refresh_inventory