kolla-ansible/ansible/roles/solum/tasks/bootstrap_service.yml
caowei 90f2b7cd06 Add solum ansible role
Change-Id: I07f2df405574b55daa44fa381625e8be0c352607
Partially-implements: bp solum-ansible-role
2016-11-25 06:14:51 +08:00

21 lines
620 B
YAML

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