2016-03-04 11:07:41 -05:00
|
|
|
---
|
|
|
|
- name: Running Manila bootstrap container
|
2017-01-17 13:33:32 -03:00
|
|
|
vars:
|
|
|
|
manila_api: "{{ manila_services['manila-api'] }}"
|
2018-05-30 11:25:19 +07:00
|
|
|
become: true
|
2016-03-04 11:07:41 -05:00
|
|
|
kolla_docker:
|
|
|
|
action: "start_container"
|
|
|
|
common_options: "{{ docker_common_options }}"
|
|
|
|
detach: False
|
|
|
|
environment:
|
|
|
|
KOLLA_BOOTSTRAP:
|
|
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
2017-01-17 13:33:32 -03:00
|
|
|
image: "{{ manila_api.image }}"
|
2016-03-04 11:07:41 -05:00
|
|
|
labels:
|
|
|
|
BOOTSTRAP:
|
|
|
|
name: "bootstrap_manila"
|
2019-07-12 17:15:42 +02:00
|
|
|
restart_policy: no
|
2018-04-13 00:45:39 +08:00
|
|
|
volumes: "{{ manila_api.volumes|reject('equalto', '')|list }}"
|
2016-03-04 11:07:41 -05:00
|
|
|
run_once: True
|
2017-01-17 13:33:32 -03:00
|
|
|
delegate_to: "{{ groups[manila_api.group][0] }}"
|