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

10 lines
284 B
YAML

---
# This task clones the repo and runs the webserver docker container.
- name: Copy the code from repository
git: repo={{ repository }} dest=/root/wrestlingApp
- name: Create and start apache docker image
command: chdir=/root/wrestlingApp bash rails-prod.sh wrestlingdev-web