Commit Graph

39 Commits

Author SHA1 Message Date
Dorian fd2b1ca6c1 Update to include hostname in the configuration. 2015-06-25 18:00:07 -04:00
Dorian 0c35aa1432 Update deployment to use the npm installation setup. 2015-06-22 08:09:13 -04:00
Dorian b6640b38fc Remove invoking restart of the supervisor service by default. 2015-05-20 21:46:55 -04:00
Dorian 5673891638 Change the default path to the Rookeries package to be in the local directory. 2015-05-20 10:53:03 -04:00
Dorian 07d364b94f Fix to restart supervisord if not service not active. 2015-05-20 10:47:07 -04:00
Dorian b1b6dc5915 Add nodejs fixed setup that works with latest nodejs. Fix up deployment tasks to run only when a deployment package is available. 2015-05-15 23:53:54 -04:00
Dorian 54883a744d Fix nodejs installation issues. 2015-05-13 09:41:51 -04:00
Dorian ac3ddb3ee0 Add database port and host configuration to role. 2015-05-12 23:48:10 -04:00
Dorian 4cb24dd580 Add support to conditionally setup the database. 2015-05-12 23:30:39 -04:00
Dorian ffae28aecc Remove requirements that are not used or referenced anywhere. 2015-04-15 20:03:53 -04:00
Dorian e46c1bad2e Add instructions to setup and use role in documentation. 2015-03-26 19:31:36 -04:00
Dorian feaf7a41e1 Update the general documentation for the role. 2015-03-26 13:41:03 -04:00
Dorian 5fc72c09c2 Setup role variable to be more reusable in other situations. 2015-03-25 09:18:23 -04:00
Dorian 3d3ab570d6 Migrate setup and configuration of environment variables into role. 2015-03-24 08:10:20 -04:00
Dorian b6693c147b Clean up variable definitions for role and some variables as default variables. 2015-03-13 08:36:13 -04:00
Dorian 2a4142f2b5 Integrate deployment of rookeries web application into rolebook. 2015-03-11 22:09:54 -04:00
Dorian 5c8402c98e Move rookeries installation into deployment stand-alone playbook. 2015-03-09 16:03:16 -04:00
Dorian 950bd84b87 Add role variables to meta content itself for more flexibility.
Migrate email server setup to use supervisor template and dev environment flag.
2015-03-09 16:02:32 -04:00
Dorian acd8ed563c Change dependency name to something used in Ansible Galaxy. 2015-02-27 11:06:33 -05:00
Dorian d0c0498055 Change dependency name to something used in Ansible Galaxy. 2015-02-27 11:04:56 -05:00
Dorian 8e263e5d32 Initial migration to setup ansible role from provisioning steps from Rookeries. 2015-02-27 08:56:41 -05:00
Dorian 9e209670c8 Remove configuration files, provided by the nginx_uwsgi_supervisor Ansible role. 2015-02-26 08:51:27 -05:00
Dorian cca2c28694 Add installation of bower dependencies step, that was missed in earlier iterations of the provisioning setup.
Add task install external role for setting up NGINX, UWSGI and Supervisord.
2015-02-26 08:24:52 -05:00
Dorian ad04c4cc01 Add parameters to uwsgi app role for deployment. Remove duplicate code. 2015-01-14 08:33:29 -05:00
Dorian 013aa699f5 Remove Ansible playbooks converted into UWSGI/NGINX role. 2015-01-09 07:51:00 -05:00
Dorian a634aac67f Migrate Ansible setup to use an external role to handle setup of the NGINX, UWSGI and supervisord setup.
Allow for greater reusability of Ansible playbooks.
2015-01-08 18:22:39 -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