Created
January 19, 2014 08:11
-
-
Save adenot/8501861 to your computer and use it in GitHub Desktop.
Ansible playbook: Runs composer install in your app only if composer.lock doesn't exist. Runs it async because composer can take a long time to execute, resulting in a ssh timeout.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: Composer install | |
| shell: chdir=/app/web creates=/app/web/composer.lock /app/bin/composer.phar install | |
| async: 600 | |
| poll: 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment