Composer
Performs a composer install on a freshly deployed codebase.
Default variables
---
composer:
validate_command: validate # leave empty to skip validation
validate_args: "--no-check-all --no-check-publish"
command: install # leave empty to do nothing
#args: my/package # define arguments to pass to composer
no_dev: true
working_dir: "{{ deploy_path }}"
apcu_autoloader: true
# Specify any additional symlink to create, with src (target) and dest (link).
# src: can be either absolute or relative to the dest (eg. '/var/my_data', '/home/deploy/simplesaml', '../../../myconfig')
# dest: can only be relative to the root of your repository (eg. 'www/themes/myassets', 'var/cache')
# force: set to true to create the symlinks in two cases: the source file does not exist but will appear later; the destination exists and is a file.
# - src: '/home/{{ deploy_user }}//{{ project_name }}_{{ build_type }}/simplesaml'
# dest: 'vendor/simplesamlphp/simplesamlphp/config'
# force: true
# - src: '/var/simplesaml/etc'
# dest: 'vendor/simplesamlphp/simplesamlphp/config'
# force: false
symlinks: []
# Specify any additional templates to generate, with src (template) and dest (file).
# src: name of a template, in the "templates" dir relative to your playbook.
# dest: can only be relative to the root of your repository (eg. 'www/config.php', 'var/mysettings.php')
templates: []