Commit graph

191 commits

Author SHA1 Message Date
Marcel Sinn
356c51a799 Removed inconsistent ssl vhost example
This example freaked me out. Took some time till I figured out that I have to remove the brackets and fix the spacings to add extra_parameters to the ssl vhost configuration. For me it would have been easier this way. Maybe you agree with me.

Thanks a lot already for this awesome ansible book! 

Greetings
~ ArgonQQ
2017-06-19 22:53:59 +02:00
Jeff Geerling
422b17d27e Merge pull request #130 from betheoutlier/encapsulate-paths-vhosts
The documentroot paths for the vhosts were not encapsulated in quotes…
2017-05-09 10:16:32 -05:00
maestrojed
b273bfb2c3 The documentroot paths for the vhosts were not encapsulated in quotes which would cause an apache error for paths with spaces or other restricted characters 2017-05-08 21:24:48 -04:00
Jeff Geerling
586bcf7845 Bump minimum Ansible version requirement. 2017-04-12 10:42:37 -05:00
Jeff Geerling
7da5582cd8 Switch from deprecated always_run to check_mode. 2017-04-12 10:39:53 -05:00
Jeff Geerling
84f285d24e PR #127 follow-up: Add support for Amazon Linux. 2017-04-03 09:52:48 -05:00
Jeff Geerling
bea019394a Merge pull request #127 from mgla/master
Add compatibility for AmazonLinux.
2017-04-03 09:51:29 -05:00
Maik Glatki
0d8bb6d11f Improve task naming. 2017-04-03 14:46:27 +00:00
Maik Glatki
73bd75f4b4 Add compatibility for AmazonLinux.
Ansible identifies AmazonLinux as:
  ansible_os_family: "RedHat"
  ansible_distribution_major_version == "NA"

But it is seemingly otherwise indistinguishable from RedHat / CentOS.

This sets the correct variables for packages, services, etc, which
differ from RHEL / CentOS.
2017-04-03 10:01:09 +00:00
Jeff Geerling
9e4be6c2c6 Update test script README. [ci skip] 2017-04-02 10:40:11 -05:00
Jeff Geerling
7381d7e58f Switch to more efficient and compact test setup. 2017-04-01 22:41:34 -05:00
Jeff Geerling
198ba9ee5d Add a LICENSE file for MIT license. [ci skip] 2017-03-31 11:23:07 -05:00
Jeff Geerling
e622488d63 Update the author's URL. Now with more HTTPS! 2017-01-21 19:59:48 -06:00
Jeff Geerling
b280d7af54 PR #118: Oxford comma. 2017-01-05 16:06:05 -06:00
Jeff Geerling
e621f9cf33 Merge pull request #118 from oxyc/apache_packages_state
Add apache_packages_state to allow upgrading Apache versions
2017-01-05 16:03:46 -06:00
Oskar Schöldström
4fb372d104 Add apache_packages_state to allow upgrading Apache versions 2017-01-05 16:46:15 -05:00
Jeff Geerling
2ad0164cfe Issue #103, PR #63: Add notes on basic HTTP auth. 2016-12-09 09:50:50 -06:00
Jeff Geerling
06a740a3ce PR #105 follow-up: Add documentation for apache_vhosts_template. 2016-12-09 09:46:04 -06:00
Jeff Geerling
1da6fa3b2c Merge pull request #72 from RobertoSolis/master
Added allow_duplicates. Allow add the role as a dependency more than …
2016-12-09 09:41:04 -06: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
Jeff Geerling
899da2b00d Merge pull request #86 from Christoph-D/configurable-options
Make "AllowOverride" and "Options" configurable
2016-12-09 08:56:55 -06:00
Jeff Geerling
88d910923c Fixes #110: Ansible 2.2 causes 'apache_packages' is undefined. 2016-11-02 15:53:19 -05:00
Jeff Geerling
c1ba6af389 Merge pull request #107 from stevenspasbo/master
Removed duplication in tasks
2016-10-11 21:29:46 -05:00
Steven Spasbo
9e0ac92df1 Removed duplicate tasks 2016-10-11 10:44:34 -07:00
Jeff Geerling
bdba3503da Remove sudo requirement from Travis build. 2016-09-25 15:49:09 -05:00
Jeff Geerling
379e1cd11f Update travisfile to not require sudo. 2016-09-25 14:45:34 -05:00
Frank Mueller
f3ac2f17ce make template file configurable 2016-09-02 13:37:41 +02:00
Jeff Geerling
0b7cd353c0 Adjust Travis file for easier maintenance. 2016-08-31 20:25:05 -05:00
Jeff Geerling
ccfb1fbcb7 Better Travis idempotence test. 2016-08-28 22:10:47 -05:00
Jeff Geerling
3bb85dbec4 Adjust valid apt cache time. 2016-08-28 20:39:20 -05:00
Jeff Geerling
bc0292a42e Test on Ubuntu 16.04. 2016-08-28 20:33:01 -05:00
Jeff Geerling
54d4192363 Use older version of Docker for now. 2016-08-28 20:23:31 -05:00
Jeff Geerling
7e004811a5 Fix Travis test docker pull command. 2016-08-28 20:14:10 -05:00
Jeff Geerling
ca4ac9945b Use Docker Hub images for efficient tests. 2016-08-28 20:12:26 -05: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
Jeff Geerling
6d623d00c4 Merge pull request #85 from Christoph-D/single-config
Merge the templates for apache 2.2 and 2.4
2016-04-25 13:09:38 -05:00
Christoph Dittmann
ae3a1a6332 Merge the templates for 2.2 and 2.4
The only real difference between apache version 2.2 and 2.4 are the
"Order/Allow" directives which have been replaced with "Require", so
there seems to be no need to maintain two separate templates.

As a side-effect, this merges geerlingguy/ansible-role-apache#69 into
the apache 2.2 config.
2016-04-25 18:29:26 +02:00
Jeff Geerling
1c536ef995 Add Xenial to supported Ubuntu versions. 2016-04-22 14:06:50 -05:00
Jeff Geerling
14e14f94c3 PR #83 follow-up 2016-04-20 21:09:41 -05:00
Jeff Geerling
d79bc4f3b4 Merge pull request #83 from woohgit/master
Add configuration for listen address
2016-04-20 21:05:02 -05: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
Jeff Geerling
1bbf949a9f Fix deprecation warnings in Ansible 2.x. Bump required version. 2016-02-28 23:32:02 -06:00
Jeff Geerling
2b44f305e9 Fix Travis tests. 2016-02-08 23:01:57 -06:00
Jeff Geerling
9e4aa0d361 Fix spacing in Travis file. 2016-02-08 13:50:39 -06:00
Jeff Geerling
3e39d0e75d Merge pull request #76 from liquidat/readme
Update README to include Solaris and SLES
2016-02-06 13:47:41 -08:00
liquidat
cf462e2f27 Update README to include Solaris and SLES 2016-02-06 11:27:09 +01:00
Jeff Geerling
f3d56d5c91 Merge pull request #75 from liquidat/master
Add Suse version to meta/main.yml
2016-02-02 09:17:18 -08:00