diff options
| author | Jeffrey Zhang <zhang.lei.fly@gmail.com> | 2016-11-05 02:28:02 +0800 |
|---|---|---|
| committer | Jeffrey Zhang <zhang.lei.fly@gmail.com> | 2016-11-10 13:16:37 +0800 |
| commit | c89cbff6a225de678d3ae7a3941169a9661fb49a (patch) | |
| tree | 5b8f8b3fd3c964babfbc21b0786d7da3940632dc /ansible/roles | |
| parent | 6e7d73be1616fce7d35ec1296dd4a1083dbfdc59 (diff) | |
| download | kolla-c89cbff6a225de678d3ae7a3941169a9661fb49a.tar.gz kolla-c89cbff6a225de678d3ae7a3941169a9661fb49a.zip | |
Fix neutron lbaas dashboard
Load neutron lbaas dynamic when neutron lbaas is enabled.
Change-Id: I47913824fea87b721f254633c16d1dc6903b4f5d
Closes-Bug: #1639325
Diffstat (limited to 'ansible/roles')
| -rw-r--r-- | ansible/roles/horizon/tasks/start.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/horizon/tasks/start.yml b/ansible/roles/horizon/tasks/start.yml index e178b92a2..746cae568 100644 --- a/ansible/roles/horizon/tasks/start.yml +++ b/ansible/roles/horizon/tasks/start.yml @@ -5,6 +5,8 @@ common_options: "{{ docker_common_options }}" image: "{{ horizon_image_full }}" name: "horizon" + environment: + ENABLE_NEUTRON_LBAAS: "{{ 'yes' if enable_neutron_lbaas | bool else 'no' }}" volumes: - "{{ node_config_directory }}/horizon/:{{ container_config_directory }}/:ro" - "/etc/localtime:/etc/localtime:ro" |
