bf71e336d4
Add a possibility to mount sources as volumes to containers, in "more than documentation" way. That will let us to use kolla as a replacement for devstack. Co-Authored-By: ZhijunWei <wzj334965317@outlook.com> Partially implements: blueprint mount-sources Change-Id: I7db7d7f0d13a4a17d1884f2cb6fa6f2c37cb0e2b
22 lines
709 B
YAML
22 lines
709 B
YAML
---
|
|
- name: Running Ceilometer bootstrap container
|
|
vars:
|
|
ceilometer_notification: "{{ ceilometer_services['ceilometer-notification'] }}"
|
|
become: true
|
|
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_notification.image | reject('equalto', '')|list }}"
|
|
labels:
|
|
BOOTSTRAP:
|
|
name: "bootstrap_ceilometer"
|
|
restart_policy: "never"
|
|
volumes: "{{ ceilometer_notification.volumes }}"
|
|
run_once: True
|
|
delegate_to: "{{ groups[ceilometer_notification.group][0] }}"
|