Commit Graph

25 Commits

Author SHA1 Message Date
Perriguey Thomas fe4dfd9ed7 Handle alma linux 2022-08-24 16:44:51 +02:00
glaszig 9f1b7e9ce7
run redhat tasks on rocky linux 2021-07-03 23:44:20 -03:00
Jeff Geerling 630cf44e8d PR #156 follow-up: Make service state more configurable. 2019-06-06 11:24:51 -05:00
Bill ONeill 6df0200468
Allow customization of nginx service enablement/status. Default to enabled and started. 2018-05-21 10:13:32 -04:00
Amrit Singh dec3152c2d Changed 'include' to 'import_tasks' and 'include_tasks' as 'include' will be deprecated in v2.8 2017-11-08 16:12:54 +05:30
Ben McClure 08fbab26bd Added nginx support 2017-06-12 19:41:39 -05:00
Oskar Schöldström 36cd4d3aec Allow users to extend config files through template inheritance 2017-04-22 16:26:45 -05:00
Edwin Steele 32d536242d Add OpenBSD support 2017-02-02 05:21:57 +11:00
Bartek Rutkowski 3d71531209 Add FreeBSD support. 2016-04-22 20:29:39 +01:00
Frederik Wille 3063875875 add official nginx ppa for ubuntu
adds ppa:nginx to apt repositories when
nginx_use_ppa is set to yes (default no)

nginx_ppa_version can be either "stable" or "development"

this will reinstall nginx if ppa was just added to ensure that the ppa
version will be installed
2016-02-09 10:06:08 +01:00
Aleksandr Vinokurov 5294d77fa3 Remove new config validation, Fix #41
NOTE: current nginx config validation process breaks SELinux context
for pid file, as described in #41

Restart of nginx is not needed for configuration changes and is
replaced with reload, which will validate config before applying it,
leaving running nginx process untouched in case of any validation
errors.

Restart handler left in support.
2016-01-22 12:56:30 +03:00
Jeff Geerling 9848800982 PR #36 follow-up: clean up and reformat docs. 2015-12-28 09:57:11 -06:00
cmacrae a248416a4d Ensuring all instances that notify 'restart nginx' also validate first 2015-12-22 16:55:29 +00:00
cmacrae fe55597334 Correcting indentation for 'validate' param 2015-12-22 16:18:44 +00:00
cmacrae cc5114dc4f Re-order template deploy & add validate:
Re-ordering the tasks in this way (having the vhosts deployed first)
allows the 'validate' param to collectively check the deployed Nginx config.

Deploying vhosts after makes it hard to check their validity, as Nginx's
config checking will operate on a "master" configuration that includes
others (checking those included, also) but would error out when checking
these individual configs if they do not contain a fully working Nginx
config (which they often don't, due to their nature).
2015-12-22 16:05:28 +00:00
Jeff Geerling 7360d9cb0b Major vhosts cleanup in preparation for issue #11. 2015-02-20 23:34:31 -06:00
Jeff Geerling 66922e9951 Fixes #10: Better organize os-specific tasks. 2015-02-20 23:15:01 -06:00
Jeff Geerling df35be0665 Fixes #9: Use major distro version for Nginx repo on RedHat. 2015-01-23 11:07:30 -06:00
Jeff Geerling fabb2ecbc0 Code style cleanup. 2015-01-23 10:57:06 -06:00
Jeff Geerling fdc9a7da78 Issue #6 and PR #8: Make nginx user more flexible. 2015-01-02 11:47:26 -06:00
Jeff Geerling 736a95a012 Add option to remove default nginx vhost config. 2014-08-21 15:41:31 -05:00
Jeff Geerling 45713939ee Cleanup - This nginx role now works across RedHat and Debian. 2014-08-03 21:24:54 -05:00
Richard 9b91816d3f added support for Debian based os 2014-07-30 21:09:00 +02:00
Jeff Geerling 222479109f Update Nginx role to be more customizable. 2014-05-02 22:18:10 -05:00
Jeff Geerling d9aebe7dee Initial commit. 2014-03-07 08:51:16 -06:00