653f184733
This patch implements the implement-ceilometer blueprint. It addes the necessary role/variables to deploy ceilometer with a Mongodb backend. The Monogdb backend is assumed to be up and configured and the playbooks only require a few values to be set in user_variables to establish a connection. Change-Id: I2164a1f27f632ce254cc2711ada2c449a9961fed Implements: blueprint implement-ceilometer
32 lines
614 B
YAML
32 lines
614 B
YAML
- name: Place the init script
|
|
template:
|
|
src: "ceilometer-upstart-init.j2"
|
|
dest: "/etc/init/{{ program_name }}.conf"
|
|
mode: "0644"
|
|
owner: "root"
|
|
group: "root"
|
|
notify:
|
|
- Restart ceilometer services
|
|
tags:
|
|
- upstart-init
|
|
- ceilometer-init
|
|
|
|
- name: Reload init scripts
|
|
shell: |
|
|
initctl reload-configuration
|
|
notify:
|
|
- Restart ceilometer services
|
|
tags:
|
|
- upstart-init
|
|
- ceilometer-init
|
|
|
|
- name: Load service
|
|
service:
|
|
name: "{{ program_name }}"
|
|
enabled: "yes"
|
|
notify:
|
|
- Restart ceilometer services
|
|
tags:
|
|
- upstart-init
|
|
- ceilometer-init
|