Separated workers and webservers

This commit is contained in:
2016-01-27 10:25:16 -05:00
parent df88b516b6
commit dbd43ecb7a
5 changed files with 66 additions and 49 deletions

View File

@@ -0,0 +1,8 @@
---
# This task clones the repo and runs the worker docker container.
#
- name: Copy the code from repository
git: repo={{ repository }} dest=/var/www/html/
- name: Create and run delayed job worker
shell: cd /var/www/html/ && bash rails-worker-prod.sh wrestlingdev-worker