Files
Dmitriy Rabotyagov 4a58212a5e Use standalone httpd role
In order to unify approach for managing Apache Web server, we migrate
to usage of standalone `httpd` role instead of managing apache
separately inside service roles.

Change-Id: I5be9be18ec0b61a4c24f4ac670cf195db0a65dc8
2025-05-08 12:26:16 +02:00

78 lines
2.1 KiB
YAML

---
# Copyright 2016, 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.
cache_timeout: 600
keystone_distro_packages:
- git
- libldap-common
- openssh-server
- rsync
- cron
- libpython3-dev
keystone_devel_distro_packages:
- docutils-common
- libffi-dev
- libjs-sphinxdoc
- libjs-underscore
- libldap2-dev
- libsasl2-dev
- libsystemd-dev
- libssl-dev
- libxslt1.1
- libxslt1-dev
- libxml2-dev
- pkg-config
keystone_service_distro_packages:
- python3-keystone
- python3-systemd
keystone_idp_distro_packages:
- ssl-cert
- xmlsec1
# From 2.4.11, mod_auth_openidc ignores X-Forwarded headers unless explicitly configured
_keystone_sp_apache_mod_auth_openidc_gte_2_4_11: true
keystone_sp_apache_mod_packages:
- name: libapache2-mod-shib
state: "{{ keystone_sp_apache_mod_shib | ternary('present', 'absent') }}"
- name: libapache2-mod-auth-openidc
state: "{{ keystone_sp_apache_mod_auth_openidc | ternary('present', 'absent') }}"
keystone_developer_mode_distro_packages:
- build-essential
keystone_deprecated_apache_configs:
- /etc/apache2/sites-available/keystone-httpd.conf
- /etc/apache2/sites-enabled/keystone-httpd.conf
keystone_apache_modules:
- name: "shib"
state: "{{ keystone_sp_apache_mod_shib | ternary('present', 'absent') }}"
- name: "auth_openidc"
state: "{{ keystone_sp_apache_mod_auth_openidc | ternary('present', 'absent') }}"
- name: "proxy_uwsgi"
state: "present"
# This can be enabled when Apache2.5+ is available
# - name: "mod_journald"
# state: "present
keystone_uwsgi_bin: "/usr/bin"
keystone_sshd: ssh