Commit Graph

13 Commits

Author SHA1 Message Date
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