Role os_ceilometer for OpenStack-Ansible
Go to file
Kevin Carter b97fc60469 Remove 'ignore_errors: true' in favor of 'failed_when: false'
This change removes the use of 'ignore_errors: true' because it causes deployers
to see red output and a stacktrace, which traditionally means something is broken,
even when the failure is known to have a fall back option or be intentional. This
conversion will provide a generally cleaner interface.

It should be noted that the 'failed' filter will still function normally. Tasks
with the 'failed_when: false' option will still be marked as 'failed' in any
registered variable. This change simply makes the output look cleaner.

Change-Id: Ide6ae6a5ea5d2279c42003f379b3a3460e62a525
Closes-Bug: #1633438
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
(cherry picked from commit 2ef2b9e735)
2016-10-21 16:12:43 +00:00
defaults Update default git branch to stable/newton 2016-09-30 13:01:13 +01:00
doc [DOCS] - Remove overview from TOC 2016-08-17 10:37:45 -04:00
examples Rename package lists (and related vars) appropriately 2016-08-30 16:41:49 +01:00
files/rootwrap.d Update Master SHAs - 17 Jan 2016 2016-01-18 23:58:48 +00:00
handlers Limit where Apache is installed for Ceilometer 2016-09-14 20:49:44 -07:00
meta Implement Ubuntu 16.04 support with SystemD 2016-06-14 11:33:42 -07:00
releasenotes Disable list_extend in config_template 2016-09-19 09:19:15 +00:00
tasks Remove 'ignore_errors: true' in favor of 'failed_when: false' 2016-10-21 16:12:43 +00:00
templates Merge "Ansible 2.1.1 role testing" 2016-09-22 21:42:12 +00:00
tests Remove 'ignore_errors: true' in favor of 'failed_when: false' 2016-10-21 16:12:43 +00:00
vars [Trival Update] Organize the packages lists 2016-09-19 09:16:26 +01:00
.gitignore Use centralised Ansible test scripts 2016-10-21 16:04:24 +01:00
.gitreview Update .gitreview for stable/newton 2016-09-29 14:44:11 -04:00
CONTRIBUTING.rst Replace invalid references to Glance 2015-10-30 07:28:53 +09:00
LICENSE Implement Ceilometer 2015-07-07 19:31:04 +00:00
README.rst [DOCS] Move ceilometer configs from developer docs 2016-08-12 13:33:10 -05:00
Vagrantfile Remove apt update from Vagrantfile 2016-08-19 15:20:56 -04:00
bindep.txt Compress test execution logs 2016-09-09 09:29:56 +00:00
manual-test.rc Ansible 2.1.1 role testing 2016-09-21 12:11:42 -04:00
run_tests.sh Ansible 2.1.1 role testing 2016-09-21 12:11:42 -04:00
setup.cfg Implement base configuration for independent repository 2016-03-01 09:43:48 -08:00
setup.py Updated from global requirements 2016-07-15 03:57:41 +00:00
test-requirements.txt Updated from global requirements 2016-08-18 05:30:42 +00:00
tox.ini Use centralised Ansible test scripts 2016-10-21 16:04:24 +01:00

README.rst

OpenStack Ceilometer

Ansible Role that installs and configures OpenStack Ceilometer.

This role will install the following:
  • ceilometer-api
  • ceilometer-agent-notification
  • ceilometer-collector
  • ceilometer-polling
  • ceilometer-registry

The role will configure Ceilometer to use MongoDB for data storage, but does not install or configure MongoDB.

Default Variables

../../defaults/main.yml

Example Playbook

- name: Install ceilometer server
  hosts: ceilometer_all
  user: root
  roles:
    - { role: "os_ceilometer", tags: [ "os-ceilometer" ] }
  vars:
    external_lb_vip_address: 172.16.24.1
    internal_lb_vip_address: 192.168.0.1

Tags

This role supports two tags: ceilometer-install and ceilometer-config.

The ceilometer-install tag can be used to install and upgrade.

The ceilometer-config tag can be used to maintain configuration of the service.