Commit graph

23 commits

Author SHA1 Message Date
Jeff Geerling
7da5582cd8 Switch from deprecated always_run to check_mode. 2017-04-12 10:39:53 -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
88d910923c Fixes #110: Ansible 2.2 causes 'apache_packages' is undefined. 2016-11-02 15:53:19 -05:00
Steven Spasbo
9e0ac92df1 Removed duplicate tasks 2016-10-11 10:44:34 -07: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
6e5b5bdadb Add configure Solaris part 2016-01-14 10:35:04 +01:00
liquidat
d472d0881d Add Solaris configuration
- add Solaris os family to main role definition
- add Solaris setup file
- add Solaris configuration
2015-12-29 22:10:07 +01:00
liquidat
55a5b2d07f Prepare role when service differs from daemon name
- introduce new apache_service in addition to apache_daemon for systems
  where service name is different from daemon name
- replace apache_daemon by apache_service in service status check
2015-12-29 21:57:25 +01:00
Gilad Peleg
5cee545c8f Make apache start optional at task end
- Closes #45
2015-09-24 18:33:10 +03:00
Jeff Geerling
cfda9d6dfb PR #26: Fix spacing for variable name. 2015-07-23 11:58:03 -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
Jeff Geerling
36d79e5f26 Revert test and add always_run to solve #20. 2015-01-09 23:46:28 -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
Jeff Geerling
034bdb7949 Code style cleanup. 2014-10-05 19:13:00 -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
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
b8bd8d5e4c Back to a passing build. 2014-04-22 10:58:01 -05:00
Jeff Geerling
ea62c96c5a Test idempotence test in playbook. 2014-04-22 10:02:31 -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