kolla-ansible/ansible/roles/tacker/tasks/bootstrap_service.yml
Eduardo Gonzalez 79df5d84f8 Tacker NFV Ansible support
Add Ansible configuration for Tacker NFV service

Change-Id: I472d96e13a5270d1ee219c2f72f57d9c361f87a6
Partially-Implements: blueprint tacker-support
2016-11-29 17:19:21 +00:00

21 lines
613 B
YAML

---
- name: Running tacker bootstrap container
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
detach: False
environment:
KOLLA_BOOTSTRAP:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
image: "{{ tacker_image_full }}"
labels:
BOOTSTRAP:
name: "bootstrap_tacker"
restart_policy: "never"
volumes:
- "{{ node_config_directory }}/tacker/:{{ container_config_directory }}/:ro"
- "/etc/localtime:/etc/localtime:ro"
- "kolla_logs:/var/log/kolla/"
run_once: True
delegate_to: "{{ groups['tacker'][0] }}"