kolla-ansible/ansible/roles/tacker/tasks/bootstrap_service.yml
Eduardo Gonzalez cc149dd0c6 Optimize reconfiguration for tacker
Change-Id: I5258b6e1384d75972b64a2b83d1913545b5af44d
Partically-implements: blueprint better-reconfigure
2017-01-25 09:41:24 +00:00

20 lines
550 B
YAML

---
- name: Running tacker bootstrap container
vars:
tacker: "{{ tacker_services.tacker }}"
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
detach: False
environment:
KOLLA_BOOTSTRAP:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
image: "{{ tacker.image }}"
labels:
BOOTSTRAP:
name: "bootstrap_tacker"
restart_policy: "never"
volumes: "{{ tacker.volumes|reject('equalto', '')|list }}"
run_once: True
delegate_to: "{{ groups[tacker.group][0] }}"