openstack-ansible-os_ceilom.../tests/test-install-ceilometer.yml
Marc Gariepy 0593030b9d Standardize tests inventory
The config for tests inventory is based on the keystone configuration.

Depends-On: I42e01d8e591c8702a077e4510e2de67932aecf17
Change-Id: I6855362c80ebdfa2243425eb65ad9c5aff27628e
2016-11-22 15:16:45 +00:00

29 lines
1022 B
YAML

---
# Copyright 2015, Rackspace US, Inc.
#
# 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.
- name: Playbook for deploying Ceilometer
hosts: ceilometer_all
user: root
gather_facts: true
pre_tasks:
- include: common/ensure-rabbitmq.yml
vhost_name: "{{ ceilometer_rabbitmq_vhost }}"
user_name: "{{ ceilometer_rabbitmq_userid }}"
user_password: "{{ ceilometer_rabbitmq_password }}"
roles:
- role: "{{ ceilometer_rolename | default('os_ceilometer') }}"
vars_files:
- common/test-vars.yml