openstack-ansible-os_horizon/tasks/main.yml
Travis Truman 39c950ba4e Role should default to no external SSL termination
This decouples the role more completely from the AIO
build default configuration in
Id87fab39c929e0860abbc3755ad386aa6893b151
which enables SSL termination at the HAProxy LB.

Variable naming should match what is in
Id87fab39c929e0860abbc3755ad386aa6893b151 to allow
the AIO configuration to enable external SSL termination.

And, bringing in changes from
I1c654501d0c8573734c52b9c20ba4b5713d667c1
that were missed.

Change-Id: I0fd26ec60f02e68688ea864d0d7880f73e6df780
2016-03-07 10:05:12 -05:00

38 lines
1.1 KiB
YAML

---
# Copyright 2014, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- include: horizon_pre_install.yml
- include: horizon_install.yml
- include: horizon_post_install.yml
- include: horizon_db_setup.yml
when: >
inventory_hostname == groups['horizon_all'][0]
- include: horizon_ssl_self_signed.yml
when:
- not horizon_external_ssl|bool
- horizon_user_ssl_cert is not defined or horizon_user_ssl_key is not defined
- include: horizon_ssl_user_provided.yml
when: not horizon_external_ssl|bool
- include: horizon_service_setup.yml
- include: horizon_apache.yml
- name: Flush handlers
meta: flush_handlers