blob: 4ed6b6e5270528012543eb5decc3c5b0340dda35 [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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: packer
become: true
tasks:
- include_vars: ../../development/centos6/ansible/inventory/group_vars/all
tags:
- packer
#
# all ambari slaves need the local repo setup, but most don't need the metron packages
#
- hosts: ambari_slave
become: true
roles:
- { role: metron-packages, packages_required: false }
tags:
- packages
#
# push the metron packages (RPM or DEB) to the metron host(s) only
#
- hosts: metron
become: true
roles:
- { role: metron-packages, packages_required: true }
tags:
- packages
#
# start installation of components in Ambari
#
- hosts: ambari_master
become: true
roles:
- role: ambari_config
tags:
- hdp-install
- hdp-deploy
- hosts: ambari_master
become: true
roles:
- role: load_web_templates
tags:
- load_templates