kolla-ansible/ansible/roles/rally/tasks/bootstrap_service.yml
caoyuan 9af94ff055 Optimize reconfigure action for rally
Change-Id: I2fb2f4cd88638dfc5ccc261a0b113094cba60715
Partially-implements: blueprint better-reconfigure
2017-01-24 13:56:31 +00:00

20 lines
518 B
YAML

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