summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/config-osa/files/collect-log.sh
blob: 7f51a2c376d7ab2fe72ba5b3bfbdb2b0072470a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
##############################################################################
# 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
##############################################################################

set -o errexit
set -o nounset
set -o pipefail

SCRIPT_PATH="$(dirname $(realpath ${BASH_SOURCE[0]}))"

openstack-ansible $SCRIPT_PATH/collect-log.yml