![caoyuan](/assets/img/avatar_default.png)
Provide support fot kolla dev mode in aodh. When 'kolla_dev_mode' or 'aodh_dev_mode' variables are enabled, source code of aodh project is cloned and bindmounted. Partially implements: blueprint mount-sources Co-Authored-By: wu.chunyang <wu.chunyang@99cloud.net> Change-Id: I1235013ab2ff887c4311126cbff7367775f66347
20 lines
557 B
YAML
20 lines
557 B
YAML
---
|
|
- name: Running aodh bootstrap container
|
|
vars:
|
|
aodh_api: "{{ aodh_services['aodh-api'] }}"
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
detach: False
|
|
environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
image: "{{ aodh_api.image }}"
|
|
labels:
|
|
BOOTSTRAP:
|
|
name: "bootstrap_aodh"
|
|
restart_policy: "never"
|
|
volumes: "{{ aodh_api.volumes|reject('equalto', '')|list }}"
|
|
run_once: True
|
|
delegate_to: "{{ groups[aodh_api.group][0] }}"
|