Sam Yaple 3ac7da64d1 Add initial config function and keystone support
Add set_configs function that implements the flow from the proposed
ansible-multi spec. Move start.sh to config-internal.sh to preserve existing
behaviour.

config-externall.sh copies the appropriate configs in from the bind'd
location and sets permissions and ownership appropriately.

Partially Implements: blueprint ansible-multi

Change-Id: I53fca0660451087f273fefc3c63e0d8cf1a2c096
2015-06-30 17:26:23 +00:00

15 lines
567 B
YAML

---
# "detach: False" ensures we will be able to wait until the database bootstrap
# is finished. We can also check the exit code and catch errors if the database
# initialization does not successfully finish
- include: ../../bootstrap.yml
vars:
container_detach: False
container_environment:
BOOTSTRAP:
CONFIG_STRATEGY: "{{ config_strategy }}"
container_image: "{{ docker_keystone_image_full }}"
container_name: "bootstrap_keystone"
container_volumes:
- "{{ node_config_directory }}/keystone/:/opt/kolla/configs/keystone/:ro"