Remove ansible, add Docker nginx config

This commit is contained in:
Oliver Davies 2017-11-20 07:18:36 +00:00
parent 2a890a682a
commit c900558d03
8 changed files with 162 additions and 223 deletions

View file

@ -1,20 +0,0 @@
---
- name: Install node dependencies
command: yarn install
args:
chdir: "{{ ansistrano_release_path.stdout }}"
- name: Build assets
command: npm run prod
args:
chdir: "{{ ansistrano_release_path.stdout }}"
- name: Install Composer dependencies
composer:
command: install
working_dir: "{{ ansistrano_release_path.stdout }}"
- name: Generate the site
command: composer run prod
args:
chdir: "{{ ansistrano_release_path.stdout }}"

View file

@ -1,3 +0,0 @@
---
- name: Reload nginx
service: name=nginx state=reloaded