Re-organized all files and added a Vagrantfile
This commit is contained in:
9
roles/rails/tasks/web.yml
Normal file
9
roles/rails/tasks/web.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
# This task clones the repo and runs the webserver docker container.
|
||||
|
||||
- name: Copy the code from repository
|
||||
git: repo={{ repository }} dest=/var/www/html/
|
||||
|
||||
- name: Create and start apache docker image
|
||||
shell: cd /var/www/html/ && bash rails-prod.sh wrestlingdev-web
|
||||
|
||||
Reference in New Issue
Block a user