Skip to content

Instantly share code, notes, and snippets.

@famousgarkin
Last active December 1, 2015 09:39
Show Gist options
  • Save famousgarkin/3168e99ba516f8787da7 to your computer and use it in GitHub Desktop.
Save famousgarkin/3168e99ba516f8787da7 to your computer and use it in GitHub Desktop.
- command: which composer
args:
creates: /usr/local/bin/composer
ignore_errors: yes
register: which_composer
- shell: curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
become: yes
when: not which_composer.stdout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment