From 9516282c82d34cad3bfc391d5204922ee4620208 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Thu, 1 Mar 2018 16:42:06 +0800 Subject: 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 --- deploy/adapters/ansible/roles/config-osa/tasks/main.yml | 2 -- .../roles/config-osa/tasks/set_openstack_release.yml | 15 --------------- 2 files changed, 17 deletions(-) delete mode 100644 deploy/adapters/ansible/roles/config-osa/tasks/set_openstack_release.yml (limited to 'deploy/adapters/ansible/roles/config-osa') 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 -- cgit 1.2.3-korg