Commit graph

201 commits

Author SHA1 Message Date
Jeff Geerling
afb02c39ca Issue #156: Fix some Ansible Lint issues. 2018-09-25 22:19:58 -05:00
Jeff Geerling
c71fb7f204 Fixes #156: Switch tests to use Molecule. 2018-09-25 22:11:49 -05:00
Jeff Geerling
71f928b9f1 Fix a few ansible-lint issues. 2018-09-25 21:36:20 -05:00
Jeff Geerling
c8c80dd3ac Merge branch 'jansepke-patch-1' 2018-04-04 14:13:04 -05:00
Jeff Geerling
3646f040e1 Fix deprecation warnings in Ansible 2.5 for state 'present'. 2018-04-04 13:57:50 -05:00
Jeff Geerling
145fb74dce PR #142: Bump minimum required Ansible version to 2.4. 2018-04-04 13:37:51 -05:00
Jeff Geerling
aeba12b45b Fixes #151: Don't test Ubuntu 12.04. Test Ubuntu 18.04 and Debian 9. 2018-04-04 13:28:10 -05:00
Jeff Geerling
155a98cd63 Fix README ssl vhost example formatting. 2018-02-14 16:45:26 -06:00
Jan Sepke
b2745274c0
remove deprecation warning
use include_tasks instead of include + static
2018-01-10 11:49:32 +01:00
Jeff Geerling
88b469048a Merge pull request #134 from ArgonQQ/patch-1
Removed inconsistent ssl vhost example
2017-06-21 12:52:53 -05:00
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