Commit Graph

44 Commits

Author SHA1 Message Date
Dorian 236a7cd5ca Fix issue with uwsgi controlled processes not restarting due to incorrect signal. 2016-05-11 18:24:01 -04:00
Dorian c4e4e8a383 Fix supervisord configuration. 2016-04-05 18:12:10 -04:00
Dorian 8218ac9bec Expose the virtualenv configurations in response to symlink deployment work in ansible-rookeries role. 2015-07-21 07:35:26 -04:00
Dorian dc7f3bda3c Merge remote-tracking branch 'origin/master' 2015-05-21 08:35:48 -04:00
Dorian a1ebd09e5e Change default notification to supervisord to make sure the service is started.
Add start/stop supervisord handlers for role.
2015-05-21 08:35:27 -04:00
Dorian 7a241bd72b Add task to upgrade pip and virtualenv to the latest version available on PyPI. 2015-05-20 10:48:34 -04:00
Dorian c7b16f9f20 Fix documentation typos for the name of role variables in configuration. 2015-03-26 19:30:22 -04:00
Dorian 3f7c03dfc5 Clean up meta-data to be clearer on supported environments. 2015-03-26 08:19:34 -04:00
Dorian 9adc044f1a Add support for adding environment variables 2015-03-24 08:05:57 -04:00
Dorian 48ec3aead6 Fix issue with NGINX template that broke execution of role, due to use of incorrectly named variables. 2015-02-25 13:13:38 -05:00
Dorian 1be7016546 Update documentation to bring most relevant info to the top.
Add example of further configuration.
2015-02-17 18:51:52 -05:00
Dorian 0783d384b8 Add minor tweaks to documentation and role meta-data based on publishing role to Ansible Galaxy. 2015-01-22 18:57:51 -05:00
Dorian 065463865f Add note on repositories at bottom of documentation. 2015-01-22 08:22:26 -05:00
Dorian 1af4792a61 Add remaining documentation to the README.
Also update role with more consistent variable names.
2015-01-21 09:05:19 -05:00
Dorian e505c10368 Add documentation on variables to README.
Change default port to 8000.
2015-01-19 23:22:58 -05:00
Dorian 3b361823af Add documentation to the README about the Ansible role. 2015-01-16 19:45:04 -05:00
Dorian 9682c28b0e Change the nginx restart into a handler, to make it more reusable in other roles. 2015-01-15 18:37:26 -05:00
Dorian ec7f841a7c Add restarting of supervisord and uwsgi app into handlers to allow for more dynamic reuse of role calls. 2015-01-15 18:07:41 -05:00
Dorian 5d330c0767 Remove mentions of rookeries in app values to make the role more generic.
Relicense role under BSD role to make role more accessible to other devs.
2015-01-14 08:21:55 -05:00
Dorian ddf16090ac Split out default variables from the internal role variables derived from the defaults. 2015-01-14 08:10:04 -05:00
Dorian 771c6bac2d Turn configurations into templates with variables.
Add multiple variables for all the necessary templated values.
Make the role reusable beyond working with rookeries.
2015-01-13 22:45:07 -05:00
Dorian 862d73268a Remove duplicate webapp home variable, to simplify setup.
Remove references to Rookeries and rename variables, to make role useful outside of the context of Rookeries.
2015-01-09 07:46:01 -05:00
Dorian 2e280e0ebc Fix up file path configurations, to reflect the Ansible role structure. 2015-01-08 18:15:50 -05:00
Dorian 1772335874 Add gitignore and fix up name for one of the tasks. 2015-01-08 18:12:04 -05:00
Dorian b405370ecc Remove extra sections in metadata. 2015-01-07 18:24:39 -05:00
Dorian 8892de863c Migrate variables into a separate module.
Turn included playbooks into pure task modules.
2015-01-07 18:23:43 -05:00
Dorian dcabd1a549 Remove hosts from tasks, in an attempt to fix issues encountered in the Rookeries project. 2015-01-07 08:07:30 -05:00
Dorian 4f09337796 Fix metadata to not fail on installation via Ansible Galaxy. 2014-12-30 07:18:48 -05:00
Dorian 232399f447 Fix metadata to not fail on installation via Ansible Galaxy. 2014-12-29 17:29:53 -05:00
Dorian d0083fd476 Some meta-data to differentiate the role from other Ansible roles. 2014-12-29 17:00:14 -05:00
Dorian e8a243ef14 Add basic Ansible role layout for UWSGI, NGINX and supervisor setup. 2014-12-22 18:03:40 -05:00
Dorian 41a54c74e4 Add better logging for supervisord managed processes. 2014-12-04 08:12:24 -05:00
Dorian f566532b14 Remove Vagrant ssh task, because going through invoke's pty is awful.
Make permissions on nginx configurations and logs more permissive.
2014-12-04 07:50:50 -05:00
Dorian d5e32c5ab8 Heavily rework Ansible playbooks to use deb install supervisor.
Also changes to locations of logs, configurations and virtualenvs.
2014-12-03 22:09:38 -05:00
Dorian 73dcab81c6 Update nginx configuration to use a _nginx suffix for configuration files.
Remove pip packaging git ignores.
2014-11-28 07:48:15 -05:00
Dorian d99bc0edce Add separate ansible playbook for setting up webapp folders.
Add logging configuration for rookeries.
2014-11-26 22:04:01 -05:00
Dorian 401d0d1b6c Migrate package deployment to use plain old tar ball over pip.
Fix up UWSGI configs for setup.
Add fix for nodejs.
Refactor clean utilities into a separate module.
Remove setuptools artifacts.
2014-11-25 23:08:21 -05:00
Dorian ad7d4011dc Fix up nginx configuration.
Remove Fabric remains.
2014-11-24 08:07:24 -05:00
Dorian b9ca47574d Setup working configuration and setup for supervisord.
Need to fix up deployment itself.
2014-11-21 23:09:42 -05:00
Dorian 79d7201e67 Add configuration folder setup for uwsgi and supervisor.
Add convenience task for vagrant ssh.
2014-11-20 18:05:34 -05:00
Dorian 6f2cf82147 Setup supervisor to manage uwsgi + mailsink servers.
Use service command directly in controlling NGINX.
2014-11-20 08:09:15 -05:00
Dorian 9fa6c8cc44 Migrate deployment to use Ansible playbooks.
Remove unneeded Fabric tasks + configurations.
2014-11-19 19:20:27 -05:00
Dorian d2db632bb8 Setup and pre-deployment Ansible playbook.
Fix deploy to vagrant tasks.
Move configuration files around for Ansible.
2014-11-19 16:27:37 -05:00
Dorian 0b291af9e7 Reorganize configurations for playbook.
Break up playbooks into simpler modular playbooks.
2014-11-18 08:24:39 -05:00