Commit graph

26 commits

Author SHA1 Message Date
Oskar Schöldström
4fb372d104 Add apache_packages_state to allow upgrading Apache versions 2017-01-05 16:46:15 -05:00
Jeff Geerling
304bf5564e PR #95 cleanup: Break at 80 cols. 2016-12-09 09:05:05 -06:00
Jeff Geerling
8ba84dd848 Merge pull request #95 from andyfeller/restart_apache_reload
Enhance apache restart handler to allow optional reloading
2016-12-09 09:03:08 -06:00
Jeff Geerling
5817624949 Merge pull request #105 from sysinit/master
make template file configurable
2016-12-09 08:58:59 -06:00
Frank Mueller
f3ac2f17ce make template file configurable 2016-09-02 13:37:41 +02:00
Andy Feller
f5cdabd466 Enhance apache restart handler to allow for reloading configuration versus restarting service 2016-06-22 08:01:49 -04:00
Christoph Dittmann
b0d8061675 Make "AllowOverride" and "Options" configurable
This commit allows the user to change the "AllowOverride" and "Options"
directives of the documentroot directory for different vhosts.

The default values are "AllowOverride All" and "Options -Indexes
+FollowSymLinks" (see defaults/main.yml), so this commit is fully
backwards compatible.
2016-04-26 10:56:36 +02:00
Adam Papai
547c0b404c
Add configuration for listen address
By default I leave it as "*", but for many cases, we don't want to bind our
apache to all network addresses available for the server. For example if we
want to only bind the apache to the localhost, we can use the following
configuration:

  apache_listen_ip: "127.0.0.1"
2016-04-20 11:46:12 +02:00
Andreas Wolf
097ddd2eb4 Only create vHosts if certificate exists 2016-01-18 17:25:08 +01:00
Solomon Gifford
906b1094d6 rename apache_global_settings to apache_global_vhost_settings to avoid confusion of where the globals are placed 2015-12-10 15:39:55 -05:00
Jeff Geerling
50d42a0a43 PR #56 follow-up: Change ordering and description of new variable. 2015-12-08 14:23:54 -06:00
Teun Ouwehand
53990ee997 Add global config variable 2015-12-08 21:03:13 +01:00
Gilad Peleg
5cee545c8f Make apache start optional at task end
- Closes #45
2015-09-24 18:33:10 +03:00
Jeff Geerling
8a4f5f3ff2 Fixes #27 and #42: Add example of multiline configuration in apache_vhosts entries. 2015-09-03 16:16:04 -05:00
Jeff Geerling
f98accbb08 PR #24: Clean up default vhost removal options and document the new var. 2015-07-23 12:04:31 -05:00
Jeff Geerling
2597e7380c Merge pull request #24 from ThijsFeryn/removedefaultvhost
PR #24: Allow default vhost file to be removed on Debian/Ubuntu.
2015-07-23 12:00:15 -05:00
Jeff Geerling
0424fbcd87 Issue #34: Add ability to 'disable' Apache mods on Ubuntu/Debian. 2015-05-31 16:01:27 -05:00
Thijs Feryn
8e71d656f4 Allowing the default vhost to be removed. Causes issues because it is linked to port 80, even if you change apache_listen_port 2015-01-28 13:54:09 +01:00
Jeff Geerling
17a99089ab Update documentation and fix a few variables for vhosts configuration. 2015-01-09 23:30:07 -06:00
Jeff Geerling
5d8bf8b6fd Merge pull request #23 from LewisW/master
Made "vhost.conf" filename configurable
2015-01-09 23:24:29 -06:00
Lewis Wright
5eeace69bb Made the vhost.conf filename configurable 2015-01-08 17:29:36 +00:00
Kevin ARBOUIN
c4b6fa8bb4 Add parameters ServerAlias 2014-12-29 21:56:03 +01:00
Jeff Geerling
8abd97bb32 Issue #17: SSL Support. 2014-11-05 10:07:20 -06:00
Jeff Geerling
d687bb21c5 Issue #14: Fix Apache version detection and related configuration for more flexibility. 2014-10-22 13:41:14 -05:00
Sebastian Schwarz
6820a17c92 Make apache_mods_enabled work.
The variable apache_mods_enabled was always overridden by
vars/Debian.yml.  It should be placed in defaults/main.yml
instead so the user's changes take effect as specied in the
README.

Also deleted superfluous files defaults/Debian.yml,
defaults/RedHat.yml and vars/main.yml.  The former two were
never read and the contents of the latter one should be placed
in defaults/main.yml.
2014-09-10 12:21:21 +02:00
Jeff Geerling
0318fedaf4 Update variables to allow easier overriding of vhosts. 2014-05-05 09:58:15 -05:00