Created
January 26, 2019 04:06
-
-
Save mschirbel/ee29f0cb58f8f018fdd35a5852c6d98a to your computer and use it in GitHub Desktop.
composer-cloneapp
This file contains 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: download composer and install on path | |
shell: curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer | |
args: | |
warn: no | |
- name: clone the app | |
git: | |
repo: https://github.com/gothinkster/laravel-realworld-example-app.git | |
dest: /var/www/html/ | |
clone: yes | |
update: yes | |
force: yes | |
- name: composer install dependencies | |
composer: | |
command: install | |
working_dir: /var/www/html/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment