PR #56 follow-up: Change ordering and description of new variable.

This commit is contained in:
Jeff Geerling 2015-12-08 14:23:54 -06:00
parent 7f9f793191
commit 50d42a0a43
2 changed files with 9 additions and 9 deletions

View file

@ -18,12 +18,6 @@ The repository to use when installing Apache (only used on RHEL/CentOS systems).
apache_listen_port: 80
apache_listen_port_ssl: 443
This role doesn't manage the apache configuration files (yet), however you can set/overwrite apache config inside the vhost file but outside the VirtualHost config. In order to do this change the `apache_global_settigs` variable.
apache_global_settigs: |
DirectoryIndex index.php index.html
# Other apache global settings
The 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.
@ -36,6 +30,12 @@ If set to true, a vhosts file, managed by this role's variables (see below), wil
On Debian/Ubuntu, a default virtualhost is included in Apache's configuration. Set this to `true` to remove that default virtualhost configuration file.
apache_global_settings: |
DirectoryIndex index.php index.html
# Add other global settings on subsequent lines.
You can add or override global Apache configuration settings in the role-provided vhosts file (assuming `apache_create_vhosts` is true) using this variable. By default it only sets the DirectoryIndex configuration.
apache_vhosts:
# Additional optional properties: 'serveradmin, serveralias, extra_parameters'.
- servername: "local.dev"

View file

@ -1,9 +1,6 @@
---
apache_enablerepo: ""
apache_global_settings: |
DirectoryIndex index.php index.html
apache_listen_port: 80
apache_listen_port_ssl: 443
@ -14,6 +11,9 @@ apache_vhosts_filename: "vhosts.conf"
# Set this to `true` to remove that default.
apache_remove_default_vhost: false
apache_global_settings: |
DirectoryIndex index.php index.html
apache_vhosts:
# Additional properties: 'serveradmin, serveralias, extra_parameters'.
- servername: "local.dev"