openstack-ansible-os_monasca/examples/monasca-dependencies.yml

72 lines
1.7 KiB
YAML

---
# Copyright 2018, SUSE LINUX GmbH.
#
# 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.
#
# (c) 2018 Jean-Philippe Evrard <jean-philippe@evrard.me>
- name: Install ansible-zookeeper
hosts: monasca_zookeeper
roles:
- ansible-zookeeper
tags:
- zookeeper
- skip_ansible_lint
- monasca-install
- name: Install ansible-kafka
hosts: monasca_kafka
roles:
- ansible-kafka
vars:
kafka_listen_address: "{{ ansible_host }}"
tags:
- kafka
- skip_ansible_lint
- monasca-install
- name: Install ansible-storm
hosts: monasca_api
roles:
- ansible-storm
vars:
storm_nimbus_enabled: True
storm_supervisor_enabled: True
nimbus_host: "{{ ansible_ssh_host }}"
tags:
- storm
- skip_ansible_lint
- monasca-install
- name: Install ansible-influxdb
hosts: monasca_influxdb
roles:
- ansible-influxdb
tags:
- influxdb
- skip_ansible_lint
- monasca-install
- name: Install ansible-grafana
hosts: monasca_grafana
roles:
- ansible-grafana
vars:
grafana_security:
admin_user: admin
admin_password: "{{ monasca_grafana_password | default('password') }}" #TODO(evrardjp) remove this when ready
tags:
- grafana
- skip_ansible_lint
- monasca-install