inmotionhosting.apache
Ansible Role: Apache
A modular Ansible role for setting up and configuring Apache.
Requirements
This Ansible role works with the two most recent stable versions of certain Linux distributions aimed at servers. It also follows their policy on ending support for older versions. Currently, the supported versions are:
- CentOS 7.x
- Debian 11 or later
- Ubuntu 20.04 LTS or later
- AlmaLinux 8.x or later
- RockyLinux 8.x or later
Dependencies
- community.general
Role Variables
The variables that you can use are listed below along with their default values (you can also find them in defaults/main.yml
):
Variable | Description |
---|---|
apache_name | Default: httpd |
apache_daemon | Default: httpd |
apache_user | Default: apache |
apache_group | Default: apache |
apache_port_http | Default: 80 |
apache_port_https | Default: 443 |
apache_config | Default: /etc/{{ apache_name }}/conf/{{ apache_name }}.conf |
apache_config_path | Default: /etc/{{ apache_name }}/conf.d |
apache_config_ports | Default: {{ apache_config_path }}/ssl.conf |
apache_config_site_path | Default: {{ apache_config_path }} |
apache_modules_path | Default: /etc/{{ apache_name }}/modules |
apache_modules_config_path | Default: /etc/{{ apache_name }}/conf.modules.d |
apache_packages | List of Apache packages to install |
apache_systemd_restart | Default: false |
apache_timeout | Default: 300 |
Example Playbook
- hosts: www
roles:
- role: inmotionhosting.apache
License
GPLv3
Author Information
Informazioni sul progetto
Modular Ansible Role for deploying and configuring Apache
Installa
ansible-galaxy install inmotionhosting.apache
Licenza
gpl-3.0
Download
54.1k
Proprietario
Offering Private and Public Cloud, Software as a Service, and Web Hosting