From 191324087c0fc0524f8566de8eeec3e35e34dcca Mon Sep 17 00:00:00 2001 From: wutianwei Date: Tue, 4 Jul 2017 17:46:39 +0800 Subject: fetch openrc for functest We use openstack-ansible to deploy the openstack, the position of openrc is different from the before. change the apt source when use local apt repository Change-Id: I1c5492b294a8645f452868c9cf2fec2e0802f823 Signed-off-by: wutianwei --- .../ansible/roles/config-osa/files/fetch-openrc.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 deploy/adapters/ansible/roles/config-osa/files/fetch-openrc.yml (limited to 'deploy/adapters/ansible/roles/config-osa/files/fetch-openrc.yml') diff --git a/deploy/adapters/ansible/roles/config-osa/files/fetch-openrc.yml b/deploy/adapters/ansible/roles/config-osa/files/fetch-openrc.yml new file mode 100644 index 00000000..1251cbf1 --- /dev/null +++ b/deploy/adapters/ansible/roles/config-osa/files/fetch-openrc.yml @@ -0,0 +1,18 @@ +# ############################################################################# +# Copyright (c) 2017 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: Fetch openrc + hosts: utility_all[0] + max_fail_percentage: 20 + user: root + tasks: + - fetch: + src: /root/openrc + dest: /opt/openrc + flat: "yes" -- cgit 1.2.3-korg