Created
June 30, 2016 19:14
-
-
Save litwicki/086e5ebfb6c75cab0137c97134d2075a to your computer and use it in GitHub Desktop.
Ansible Playbook
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
# vim:ft=ansible: | |
# | |
--- | |
- name: install common software | |
apt: | |
name={{ item }} | |
state=present | |
with_items: | |
- apache2 | |
- git | |
- imagemagick | |
- make | |
- mcrypt | |
- npm | |
- pkg-config | |
- name: install composer | |
shell: curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/local/bin/composer | |
creates=/usr/local/bin/composer | |
- name: enable php-mcrypt | |
command: php5enmod mcrypt | |
args: | |
creates: /etc/php5/cli/conf.d/20-mcrypt.ini | |
notify: restart apache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment