Files
wrestlingdev-ansible/roles/rails/tasks/worker.yml
2016-02-03 11:20:47 -05:00

9 lines
287 B
YAML

---
# This task clones the repo and runs the worker docker container.
#
- name: Copy the code from repository
git: repo={{ repository }} dest=/root/wrestlingApp
- name: Create and run delayed job worker
shell: cd /root/wrestlingApp && bash rails-worker-prod.sh wrestlingdev-worker