Files
wrestlingdev-ansible/roles/rails/tasks/worker.yml

9 lines
279 B
YAML

---
# 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