c8bb9bcc2b
Provide support for kolla dev mode in cinder. When 'kolla_dev_mode' or 'cinder_dev_mode' variables are enabled, source code of cinder project is cloned and bind mounted. Partially implements: blueprint mount-sources Change-Id: I9ccd395d076f9cc1ad4b51af9d22ba8b17fac1bc
21 lines
588 B
YAML
21 lines
588 B
YAML
---
|
|
- name: Running Cinder bootstrap container
|
|
vars:
|
|
cinder_api: "{{ cinder_services['cinder-api'] }}"
|
|
become: true
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
detach: False
|
|
environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
image: "{{ cinder_api.image }}"
|
|
labels:
|
|
BOOTSTRAP:
|
|
name: "bootstrap_cinder"
|
|
restart_policy: "never"
|
|
volumes: "{{ cinder_api.volumes|reject('equalto', '')|list }}"
|
|
run_once: True
|
|
delegate_to: "{{ groups[cinder_api.group][0] }}"
|