kolla-ansible/ansible/roles/keystone/tasks/bootstrap_service.yml
Éric Lemoine 684873b89b Make Heka collect Keystone logs
Partially implements: blueprint heka
Change-Id: I940143876981a04464af67aff65c09a06926701d
2016-02-19 21:49:21 +00:00

20 lines
580 B
YAML

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