2364bee3cc
Change-Id: I13cf03d6a97fb94dd7cb309e99a417ad101dc21a Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com> Partially-implements: bp add-zun-ansible-role
20 lines
522 B
YAML
20 lines
522 B
YAML
---
|
|
- name: Running Zun bootstrap container
|
|
vars:
|
|
zun_api: "{{ zun_services['zun-api'] }}"
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
detach: False
|
|
environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
image: "{{ zun_api.image }}"
|
|
labels:
|
|
BOOTSTRAP:
|
|
name: "bootstrap_zun"
|
|
restart_policy: "never"
|
|
volumes: "{{ zun_api.volumes }}"
|
|
run_once: True
|
|
delegate_to: "{{ groups[zun_api.group][0] }}"
|