--- # Copyright 2024, Cleura AB # # 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. _httpd_system_service_name: httpd _httpd_service_user_name: apache _httpd_service_group_name: apache _httpd_service_home_folder: /usr/share/httpd _httpd_vhost_enable_path: "{{ httpd_conf_dir }}/conf.d" _httpd_default_sites: - "{{ httpd_vhost_enable_path }}/userdir.conf" - "{{ httpd_vhost_enable_path }}/welcome.conf" - "{{ httpd_vhost_enable_path }}/ssl.conf" _httpd_extra_conf_files: - src: "httpd_ports.conf.j2" dest: "{{ httpd_vhost_enable_path }}/ports.conf" owner: "root" group: "root" - src: "httpd_mpm.conf.j2" dest: "{{ httpd_conf_dir }}/conf.modules.d/mpm_{{ httpd_mpm_backend }}.conf" owner: "root" group: "root" _httpd_conf_file: "{{ httpd_conf_dir }}/conf/httpd.conf" _httpd_security_conf: "{{ httpd_conf_file }}" _httpd_distro_packages: - git - httpd - "{{ (_httpd_vhosts_with_ssl | length > 0) | ternary('mod_ssl', '') }}" - sudo