Created
January 19, 2014 08:09
-
-
Save adenot/8501840 to your computer and use it in GitHub Desktop.
Ansible playbook: Installing php composer only once. The tasks checks if composer.phar exists before executing it for the second time.
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: Installing composer.phar | |
| shell: chdir=/app/bin creates=/app/bin/composer.phar php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment