openstack-ansible-os_horizon/vars/redhat-7.yml
Jesse Pretorius 53e79276c9 Rename SUSE vars file and remove mysql-python
The SUSE builds are failing due to a change in the galera_client
role causing the trove role's vars file to be found before the
galera_client vars file. We therefore rename the trove vars file
for SUSE. This also makes transitions between versions easier.

The mysql-python package is no longer maintained. We are using
pymysql instead, so this package does not need to be installed.
This resolves current build failures due to the mysql-python
package not being installable due to the new version of MariaDB
being used.

With this, we also switch django to use pymysql and ensure that
the appropriate distribution package is installed when doing
distro builds.

Depends-On: https://review.openstack.org/602924
Change-Id: I020678e0beb131836e3006e46eec22c02977f8ec
2018-09-15 20:53:09 -06:00

66 lines
2.0 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.
horizon_system_service_name: httpd
horizon_devel_distro_packages:
- git
- libxslt-devel
- openssl
- openssl-libs
horizon_distro_packages:
- cronie
- cronie-anacron
- gettext
- httpd
- httpd-tools
- mod_ssl
- mod_wsgi
- which
horizon_service_distro_packages:
- openstack-designate-ui
- openstack-heat-ui
- openstack-ironic-ui
- openstack-magnum-ui
- openstack-manila-ui
- openstack-neutron-lbaas-ui
- openstack-sahara-ui
- openstack-trove-ui
- openstack-octavia-ui
- python-django-horizon
- python-memcached
- python-PyMySQL
horizon_apache_conf: "/etc/httpd/conf/httpd.conf"
horizon_apache_default_log_folder: "/var/log/httpd"
horizon_apache_default_log_owner: "root"
horizon_apache_default_log_grp: "root"
horizon_apache_security_conf: "{{ horizon_apache_conf }}"
horizon_apache_configs:
- { src: "horizon_apache_ports.conf.j2", dest: "/etc/httpd/conf.d/ports.conf", owner: "root", group: "root" }
- { src: "openstack_dashboard.conf.j2", dest: "/etc/httpd/conf.d/openstack-dashboard.conf", owner: "root", group: "root" }
horizon_apache_default_sites:
- "/etc/httpd/conf.d/userdir.conf"
- "/etc/httpd/conf.d/welcome.conf"
- "/etc/httpd/conf.d/ssl.conf"
_horizon_lib_dir: "/usr/share/openstack-dashboard"
horizon_python_lib_dir: "/usr/lib/python2.7/site-packages"
horizon_dashboard_panel_dir: "{{ _horizon_lib_dir }}/openstack_dashboard/local/enabled"