Remove dupliate osh-infra-docker.yaml file
We only need keep one of osh-infra-deploy-docker.yaml and osh-infra-docker.yaml, because the content is almost the same. Change-Id: I27854c0b9492853f7c4edf130b6533c33292dc89
This commit is contained in:
parent
9071a03417
commit
49da0d0bb3
@ -1,40 +0,0 @@
|
||||
# Copyright 2017 The Openstack-Helm Authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- hosts: all
|
||||
vars_files:
|
||||
- vars.yaml
|
||||
vars:
|
||||
work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}"
|
||||
gather_facts: False
|
||||
become: yes
|
||||
roles:
|
||||
- deploy-python
|
||||
tags:
|
||||
- python
|
||||
|
||||
- hosts: all
|
||||
vars_files:
|
||||
- vars.yaml
|
||||
vars:
|
||||
work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}"
|
||||
gather_facts: True
|
||||
become: yes
|
||||
roles:
|
||||
- setup-firewall
|
||||
- deploy-python-pip
|
||||
- deploy-docker
|
||||
- deploy-yq
|
||||
tags:
|
||||
- docker
|
@ -67,7 +67,7 @@ function ansible_install {
|
||||
|
||||
if [ "x${DEPLOY}" == "xsetup-host" ]; then
|
||||
ansible_install
|
||||
PLAYBOOKS="osh-infra-docker"
|
||||
PLAYBOOKS="osh-infra-deploy-docker"
|
||||
elif [ "x${DEPLOY}" == "xk8s" ]; then
|
||||
PLAYBOOKS="osh-infra-build osh-infra-deploy-k8s"
|
||||
elif [ "x${DEPLOY}" == "xcharts" ]; then
|
||||
@ -76,7 +76,7 @@ elif [ "x${DEPLOY}" == "xlogs" ]; then
|
||||
PLAYBOOKS="osh-infra-collect-logs"
|
||||
elif [ "x${DEPLOY}" == "xfull" ]; then
|
||||
ansible_install
|
||||
PLAYBOOKS="osh-infra-docker osh-infra-build osh-infra-deploy-k8s osh-infra-deploy-charts osh-infra-collect-logs"
|
||||
PLAYBOOKS="osh-infra-deploy-docker osh-infra-build osh-infra-deploy-k8s osh-infra-deploy-charts osh-infra-collect-logs"
|
||||
else
|
||||
echo "Unknown Deploy Option Selected"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user