Commit graph

17 commits

Author SHA1 Message Date
Jonathan Piron
2ff0b51c05 fix Debian check mode
file module needs force attribute if symlink destination doesn't exist which is the case in check mode.
2024-01-16 09:10:20 +01:00
Fabian Niepelt
841acb1b91
Implement enabling and disabling modules on RedHat systems 2022-05-22 15:43:36 +02:00
Jeff Geerling
04600b45f6 Fix linting issues. 2020-08-20 12:22:09 -05:00
Jeff Geerling
cf6003a500 Fixes #173, gets it working on RHEL 8 and removes deprecated usage of bare variable. 2019-07-23 15:01:49 -05:00
Jeff Geerling
d579c1497f Be a little less strict about line length. 2018-09-25 22:38:51 -05:00
Jeff Geerling
afb02c39ca Issue #156: Fix some Ansible Lint issues. 2018-09-25 22:19:58 -05:00
Frank Mueller
f3ac2f17ce make template file configurable 2016-09-02 13:37:41 +02: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
1bbf949a9f Fix deprecation warnings in Ansible 2.x. Bump required version. 2016-02-28 23:32:02 -06:00
Andreas Wolf
097ddd2eb4 Only create vHosts if certificate exists 2016-01-18 17:25:08 +01: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
Lewis Wright
5eeace69bb Made the vhost.conf filename configurable 2015-01-08 17:29:36 +00:00
Guillaume Dedrie
b13cb7d4ba Prevent task symlink vhost for Debian to failed.
When vhost has not been created (using apache_create_vhosts: no), the
tasks should not be executed, otherwise it'll failed as the vhosts.conf
file has not been created and cannot been linked.
2014-11-04 18:02:42 +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