---
- name: Starting horizon container
  kolla_docker:
    action: "start_container"
    common_options: "{{ docker_common_options }}"
    image: "{{ horizon_image_full }}"
    name: "horizon"
    environment:
      ENABLE_IRONIC: "{{ 'yes' if enable_ironic | bool else 'no' }}"
      ENABLE_MANILA: "{{ 'yes' if  enable_manila | bool else 'no' }}"
      ENABLE_NEUTRON_LBAAS: "{{ 'yes' if  enable_neutron_lbaas | bool else 'no' }}"
      ENABLE_SAHARA: "{{ 'yes' if enable_sahara | bool else 'no' }}"
    volumes:
      - "{{ node_config_directory }}/horizon/:{{ container_config_directory }}/:ro"
      - "/etc/localtime:/etc/localtime:ro"
      - "kolla_logs:/var/log/kolla/"
  when: inventory_hostname in groups['horizon']

---
- name: Starting horizon container
  kolla_docker:
    action: "start_container"
    common_options: "{{ docker_common_options }}"
    image: "{{ horizon_image_full }}"
    name: "horizon"
    environment:
      ENABLE_IRONIC: "{{ 'yes' if enable_ironic | bool else 'no' }}"
      ENABLE_MANILA: "{{ 'yes' if  enable_manila | bool else 'no' }}"
      ENABLE_NEUTRON_LBAAS: "{{ 'yes' if  enable_neutron_lbaas | bool else 'no' }}"
      ENABLE_SAHARA: "{{ 'yes' if enable_sahara | bool else 'no' }}"
      ENABLE_TROVE: "{{ 'yes' if enable_trove | bool else 'no' }}"
    volumes:
      - "{{ node_config_directory }}/horizon/:{{ container_config_directory }}/:ro"
      - "/etc/localtime:/etc/localtime:ro"
      - "kolla_logs:/var/log/kolla/"
  when: inventory_hostname in groups['horizon']

Enable trove dashboard when enable_trove is yes
Enable trove dashboard when enable_trove is yes

Depends-On: I1e9295da273055bfb870c7a87a32b989f3f61e8b

Change-Id: I18733775627d7f81cca0b7aa91f006ac48f1a755
Closes-Bug: #1646337
