Move composer install into a build hook

This commit is contained in:
Oliver Davies 2019-01-22 22:00:26 +00:00
parent 80dcc8a215
commit 7152ebc412
2 changed files with 6 additions and 6 deletions

View file

@ -14,9 +14,4 @@
ansistrano_deploy_to: "{{ app_project_root }}" ansistrano_deploy_to: "{{ app_project_root }}"
ansistrano_current_dir: current ansistrano_current_dir: current
ansistrano_keep_releases: 5 ansistrano_keep_releases: 5
ansistrano_before_symlink_tasks_file: "{{ playbook_dir }}/deploy/before-symlink.yml"
# tasks:
# - name: Installing Composer dependencies
# composer:
# command: install
# working_dir: "{{ app_project_root }}"

View file

@ -0,0 +1,5 @@
---
- name: Install Composer dependencies
composer:
command: install
working_dir: '{{ ansistrano_release_path.stdout }}'