3ae0063944
Change-Id: Ia6ac371845d1f2b545406d096b35a6d5f68be5f6 Implements: blueprint ansible-mongodb
16 lines
485 B
YAML
16 lines
485 B
YAML
---
|
|
- name: Starting mongodb bootstrap container
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
detach: False
|
|
environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
image: "{{ mongodb_image_full }}"
|
|
name: "bootstrap_mongodb"
|
|
restart_policy: "never"
|
|
volumes:
|
|
- "{{ node_config_directory }}/mongodb/:{{ container_config_directory }}/:ro"
|
|
- "mongodb:/var/lib/mongodb/"
|