26f523867d
In order to reduce amount of tech involved in deployment and better share commond resources and approaches Nginx web server is replaced with Apache2 now. Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/924157 Change-Id: Ib8c7e985c710241bd97153130b77fcb1e904bfe1
62 lines
1.8 KiB
YAML
62 lines
1.8 KiB
YAML
---
|
|
# Copyright 2016, Walmart Stores, 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.
|
|
|
|
systemd_utils_prefix: "/lib/systemd"
|
|
|
|
_repo_system_service_name: apache2
|
|
|
|
_repo_vhost_enable_path: "/etc/{{ repo_system_service_name }}/sites-enabled"
|
|
|
|
_repo_apache_modules:
|
|
- name: "ssl"
|
|
state: "present"
|
|
- name: "mpm_{{ repo_apache_mpm_backend }}"
|
|
state: "present"
|
|
- name: "rewrite"
|
|
state: "present"
|
|
- name: "headers"
|
|
state: "present"
|
|
- name: "deflate"
|
|
state: "present"
|
|
|
|
_repo_apache_default_sites:
|
|
- "{{ repo_vhost_enable_path }}/000-default.conf"
|
|
- /etc/apache2/conf-enabled/other-vhosts-access-log.conf
|
|
|
|
_repo_apache_configs:
|
|
- src: "apache_ports.conf.j2"
|
|
dest: "/etc/apache2/ports.conf"
|
|
owner: "root"
|
|
group: "root"
|
|
- src: "openstack_slushee.vhost.j2"
|
|
dest: "/etc/{{ repo_system_service_name }}/sites-available/openstack_slushee.conf"
|
|
owner: "root"
|
|
group: "root"
|
|
- src: "apache_mpm.conf.j2"
|
|
dest: "/etc/apache2/mods-available/mpm_{{ repo_apache_mpm_backend }}.conf"
|
|
owner: "root"
|
|
group: "root"
|
|
|
|
_repo_apache_conf: "/etc/apache2/apache2.conf"
|
|
_repo_apache_security_conf: "/etc/apache2/conf-available/security.conf"
|
|
|
|
# NOTE(jrosser) remove this once rsync cleanup tasks are no longer required
|
|
rsyncd_service_name: rsync
|
|
|
|
repo_server_distro_packages:
|
|
- git
|
|
- apache2
|
|
- sudo
|