30e3d90499
Added pipeline.yaml, event_pipeline.yaml and event_definitions.yaml based on sample files in OpenStack documentation Edited haproxy.cfg for ceilometer support Edited ceilometer-base dockerfile for missing dependency Change-Id: I6ade05255e7e1aa7dbcffd026fad5869036d0d32 Closes-Bug: #1604004
51 lines
1.4 KiB
YAML
51 lines
1.4 KiB
YAML
- name: Ensuring config directories exist
|
|
file:
|
|
path: "{{ node_config_directory }}/{{ item }}"
|
|
state: "directory"
|
|
recurse: yes
|
|
with_items:
|
|
- "ceilometer-notification"
|
|
- "ceilometer-collector"
|
|
- "ceilometer-api"
|
|
- "ceilometer-central"
|
|
- "ceilometer-compute"
|
|
|
|
- name: Copying over config.json files for services
|
|
template:
|
|
src: "{{ item }}.json.j2"
|
|
dest: "{{ node_config_directory }}/{{ item }}/config.json"
|
|
with_items:
|
|
- "ceilometer-notification"
|
|
- "ceilometer-collector"
|
|
- "ceilometer-api"
|
|
- "ceilometer-central"
|
|
- "ceilometer-compute"
|
|
|
|
- name: Copying over ceilometer.conf
|
|
merge_configs:
|
|
vars:
|
|
service_name: "{{ item }}"
|
|
sources:
|
|
- "{{ role_path }}/templates/ceilometer.conf.j2"
|
|
- "/etc/kolla/config/global.conf"
|
|
- "/etc/kolla/config/database.conf"
|
|
- "/etc/kolla/config/messaging.conf"
|
|
- "/etc/kolla/config/glance.conf"
|
|
- "/etc/kolla/config/glance/{{ item }}.conf"
|
|
dest: "{{ node_config_directory }}/{{ item }}/ceilometer.conf"
|
|
with_items:
|
|
- "ceilometer-notification"
|
|
- "ceilometer-collector"
|
|
- "ceilometer-api"
|
|
- "ceilometer-central"
|
|
- "ceilometer-compute"
|
|
|
|
- name: Copying over event and pipeline yaml for notification service
|
|
template:
|
|
src: "{{ item }}.j2"
|
|
dest: "{{ node_config_directory }}/ceilometer-notification/{{ item }}"
|
|
with_items:
|
|
- "event_definitions.yaml"
|
|
- "event_pipeline.yaml"
|
|
- "pipeline.yaml"
|