Merge "Convert horizon to kolla_docker"

This commit is contained in:
Jenkins 2016-01-03 16:09:38 +00:00 committed by Gerrit Code Review
commit 479e7947c3

@ -1,19 +1,9 @@
---
- name: Starting horizon container
docker:
tty: True
net: host
pull: "{{ docker_pull_policy }}"
restart_policy: "{{ docker_restart_policy }}"
restart_policy_retry: "{{ docker_restart_policy_retry }}"
state: reloaded
registry: "{{ docker_registry }}"
username: "{{ docker_registry_username }}"
password: "{{ docker_registry_password }}"
insecure_registry: "{{ docker_insecure_registry }}"
name: horizon
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
image: "{{ horizon_image_full }}"
name: "horizon"
volumes: "{{ node_config_directory }}/horizon/:{{ container_config_directory }}/:ro"
env:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
when: inventory_hostname in groups['horizon']