e50d18e4fb
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. Partially implements: blueprint mount-sources Co-Authored-By: wu.chunyang <wu.chunyang@99cloud.net> Change-Id: Ia3112a0d297ac777e1f25d3ddecced7746ca6418
21 lines
600 B
YAML
21 lines
600 B
YAML
---
|
|
- name: Running Freezer bootstrap container
|
|
vars:
|
|
freezer_api: "{{ freezer_services['freezer-api'] }}"
|
|
become: true
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
detach: False
|
|
environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
image: "{{ freezer_api.image }}"
|
|
labels:
|
|
BOOTSTRAP:
|
|
name: "bootstrap_freezer"
|
|
restart_policy: "never"
|
|
volumes: "{{ freezer_api.volumes | reject('equalto', '') | list }}"
|
|
run_once: True
|
|
delegate_to: "{{ groups[freezer_api.group][0] }}"
|