{"repo":"geerlingguy/ansible-role-apache","free":true,"listed":false,"github":"https://github.com/geerlingguy/ansible-role-apache","clone":"git clone https://github.com/geerlingguy/ansible-role-apache.git","description":"Ansible Role - Apache 2.x.","language":"Jinja","stars":431,"topics":["ansible","role","apache","webserver","lamp","install","setup","centos","ubuntu","debian"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Ansible Role: Apache 2.x An Ansible Role that installs Apache 2.x on RHEL/CentOS, Debian/Ubuntu, SLES and Solaris. Requirements If you are using SSL/TLS, you will need to provide your own certificate and key files. You can generate a self-signed certificate with a command like openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout example.key -out example.crt . If you are using Apache with PHP, I recommend using the geerlingguy.php role to install PHP, and you can either use mod php (by adding the proper package, e.g. libapache2-mod-php5 for Ubuntu, to php packages ), or by also using geerlingguy.apache-php-fpm to connect Apache to PHP via FPM. See that role's README for more info. Role Variables Available variables are listed below, along with default values (see defaults/main.yml ): The repository to use when installing Apache (only used on RHEL/CentOS systems). If you'd like later versions of Apache than are available in the OS's core repositories, use a repository like EPEL (which can be installed with the geerlingguy.repo-epel role). The IP address and ports on which apache should be listening. Useful if you have another service (like a reverse proxy) listening on port 80 or 443 and need to change the defaults. If set to true, a vhosts file, managed by this role's variables (see below), will be created and placed in the Apache configuration folder. If set to false, you can place your own vhosts file into Apache's configuration folder and skip the convenient (but mor","default_branch":null,"files":null,"tree":[],"storefront":"/r/geerlingguy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/geerlingguy/ansible-role-apache/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}