kolla-ansible/ansible/roles/ceilometer/tasks/bootstrap_service.yml
Jeffrey Zhang ddad15c07e Remove ceilometer-api and ceilometer-collector services
* remove ceilometer-api and ceilometer-collector service
* use ceilometer-notification to publish message to proper backend
* remove useless ceilometer_database_type and ceilometer_event_type
  variables
* sync event_definitions.yaml, event_pipeline.yaml and pipeline.yaml
  file with upstream

Change-Id: Ib39053cb5f70bd11ee61d3f26d5b28accecd7190
2017-07-17 11:03:44 +08:00

21 lines
620 B
YAML

---
- name: Running Ceilometer bootstrap container
vars:
ceilometer_api: "{{ ceilometer_services['ceilometer-api'] }}"
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
detach: False
environment:
KOLLA_BOOTSTRAP:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
CEILOMETER_DATABASE_TYPE: "gnocchi"
image: "{{ ceilometer_api.image }}"
labels:
BOOTSTRAP:
name: "bootstrap_ceilometer"
restart_policy: "never"
volumes: "{{ ceilometer_api.volumes }}"
run_once: True
delegate_to: "{{ groups[ceilometer_api.group][0] }}"