Commit graph

25 commits

Author SHA1 Message Date
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
liquidat
8b8d428062 Correct bin name in Suse is httpd2 2016-02-01 10:49:03 +01:00
liquidat
170a9c2446 Add Suse support
- set proper package and service name apache2
- configure given packages for Suse
- install packages
- start service
2016-02-01 10:37:57 +01:00
liquidat
18099303cd Add Solaris variables 2015-12-29 22:09:41 +01:00
liquidat
8393eef81e Prepare Debian and Red Hat vars for apache_service
- add apache_service variable with same content as
  apache_daemon
2015-12-29 22:09:09 +01:00
Solomon Gifford
ea4186e794 Leaves the NameVirtualHost in the same location in the file 2015-11-16 23:20:54 -05:00
Jeff Geerling
d57725cf0b Remove multiline config from default vars. 2015-10-31 21:42:34 -05:00
Jeff Geerling
35e662cd00 Don't install apache2-mpm-prefork in default Debian packages. 2015-08-19 09:27:11 -07: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
Felix Peters
e9d5dedc70 Fix #25 Get installed version of Apache. failed
Add absolute path for apache/httpd to avoid command not found error
2015-02-06 13:21:51 +01: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
d687bb21c5 Issue #14: Fix Apache version detection and related configuration for more flexibility. 2014-10-22 13:41:14 -05:00
Jeff Geerling
aff1f3a524 Issue #15: Role broken on non-Ubuntu Precise and Trusty Debians. 2014-10-15 08:39:44 -05:00
Jeff Geerling
034bdb7949 Code style cleanup. 2014-10-05 19:13:00 -05:00
Jeff Geerling
d191d3a7fd Issue #12: Use sites-available and sites-enabled Debian convention. 2014-10-05 18:58:35 -05:00
Jeff Geerling
3a277cbff6 Issue #1: Add updated vhosts file for Apache 2.4. 2014-10-05 18:15:56 -05:00
Jeff Geerling
83ab160cff Issue #5: Allow apache_packages to be overridden. 2014-10-05 08:02:17 -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
c92d089f70 Updated README and Debian vars. 2014-05-05 10:04:26 -05:00
Jeff Geerling
0318fedaf4 Update variables to allow easier overriding of vhosts. 2014-05-05 09:58:15 -05:00
Jeff Geerling
2184538876 Use defaults instead of main vars for easier overriding. 2014-05-05 09:45:51 -05:00
Jeff Geerling
917b9edbc7 Add apache_create_vhosts var, and allow mods to be enabled on Debian hosts. 2014-04-23 09:47:33 -05:00
Jeff Geerling
5cbf84a9a5 Make Apache role work correctly with both RHEL and Debian. 2014-04-22 07:34:37 -05:00
Jeff Geerling
25f03a033b Remove EPEL repository dependency. 2014-03-14 11:28:08 -05:00
Jeff Geerling
ca82309c13 Add handlers, meta info, tasks, templates, and vars. 2014-02-28 16:23:24 -06:00