roles/apache: Support setting ServerTokens

The `apache_server_tokens` variable can now be set, which controls the
value of the `ServerTokens` directive. If the variable is set, the
`ServerTokens` directive will be added to the `00-servername.conf` file.
This commit is contained in:
2018-06-23 13:56:16 -05:00
parent 10d6b52460
commit a02ddbb53f

View File

@@ -10,3 +10,7 @@ ServerName {{ apache_server_name }}
{% else %}
#ServerName www.example.com:80
{% endif %}
{% if apache_server_tokens is defined %}
ServerTokens {{ apache_server_tokens }}
{% endif %}