kolla-ansible/ansible/roles/cloudkitty/tasks/bootstrap_service.yml
Christian Berendt 5f62c22959 Add cloudkitty ansible role
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>

Change-Id: Id83c852e32c3dd583e6128e888ac511634e8eabb
Partially-Implements: blueprint cloudkitty
2016-09-07 14:10:06 +00:00

21 lines
645 B
YAML

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