2016-08-08 16:48:11 +00:00
|
|
|
---
|
|
|
|
- name: Running barbican bootstrap container
|
2017-01-22 10:06:06 +08:00
|
|
|
vars:
|
|
|
|
barbican_api: "{{ barbican_services['barbican-api'] }}"
|
2018-05-30 11:25:19 +07:00
|
|
|
become: true
|
2016-08-08 16:48:11 +00:00
|
|
|
kolla_docker:
|
|
|
|
action: "start_container"
|
|
|
|
common_options: "{{ docker_common_options }}"
|
|
|
|
detach: False
|
|
|
|
environment:
|
|
|
|
KOLLA_BOOTSTRAP:
|
|
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
2017-01-22 10:06:06 +08:00
|
|
|
image: "{{ barbican_api.image }}"
|
2016-08-08 16:48:11 +00:00
|
|
|
labels:
|
|
|
|
BOOTSTRAP:
|
|
|
|
name: "bootstrap_barbican"
|
2019-07-12 17:15:42 +02:00
|
|
|
restart_policy: no
|
2018-04-12 23:37:37 +08:00
|
|
|
volumes: "{{ barbican_api.volumes|reject('equalto', '')|list }}"
|
2016-08-08 16:48:11 +00:00
|
|
|
run_once: True
|
2017-01-22 10:06:06 +08:00
|
|
|
delegate_to: "{{ groups[barbican_api.group][0] }}"
|