kolla-ansible/ansible/roles/blazar/tasks/bootstrap_service.yml
Eduardo Gonzalez 31f7732aef Implement blazar ansible role
Add ansible role to deploy blazar
Add nova filters to allow use of blazar

Change-Id: I6742ddc9a4736f256491dd0cfd31904fa8eb5652
Implements: blueprint blazar-ansible-role
2018-01-03 16:36:54 +00:00

20 lines
546 B
YAML

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