cb03e96dc7
Allows users to develop on Senlin using Kolla. Partially implements: blueprint mount-sources Change-Id: I3523ab5638b8440050f538501f1b1a35270435cd
20 lines
573 B
YAML
20 lines
573 B
YAML
---
|
|
- name: Running Senlin bootstrap container
|
|
vars:
|
|
senlin_api: "{{ senlin_services['senlin-api'] }}"
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
detach: False
|
|
environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
image: "{{ senlin_api.image }}"
|
|
labels:
|
|
BOOTSTRAP:
|
|
name: "bootstrap_senlin"
|
|
restart_policy: "never"
|
|
volumes: "{{ senlin_api.volumes|reject('equalto', '')|list }}"
|
|
run_once: True
|
|
delegate_to: "{{ groups[senlin_api.group][0] }}"
|