kolla-ansible/ansible/roles/kuryr/tasks/bootstrap.yml
Mauricio Lima f12ecdc424 Optimize reconfiguration for kuryr
Co-Authored-By: caoyuan <cao.yuan@99cloud.net>
Change-Id: I6f14860090765d3fb515238dc1525c5fc718f803
Partially-implements: blueprint better-reconfigure
2017-01-26 03:17:50 +00:00

20 lines
518 B
YAML

---
- name: Running Kuryr bootstrap container
vars:
kuryr: "{{ kuryr_services['kuryr'] }}"
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
detach: False
environment:
KOLLA_BOOTSTRAP:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
image: "{{ kuryr.image }}"
labels:
BOOTSTRAP:
name: "bootstrap_kuryr"
restart_policy: "never"
volumes: "{{ kuryr.volumes }}"
run_once: True
delegate_to: "{{ groups[kuryr.group][0] }}"