roles/apache: Role to deploy Apache HTTPD

The *apache* role installs and configures the Apache HTTPD server and
its *mod_ssl* module. It currently only works on Fedora/RHEL-based
distributions.
This commit is contained in:
2018-04-14 15:21:15 -05:00
parent 0ce0c0f834
commit f89b279d3a
9 changed files with 445 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
{% if apache_server_name is defined %}
ServerName {{ apache_server_name }}
{% else %}
#ServerName www.example.com:80
{% endif %}