-
-
Save abits/8919178 to your computer and use it in GitHub Desktop.
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: Commmon | MailUtils | |
apt: pkg=mailutils state=latest | |
- name: Commmon | sqlite3 | |
apt: pkg=sqlite3 state=latest | |
- name: Commmon | libsqlite3-dev | |
apt: pkg=libsqlite3-dev state=latest | |
- name: Common | Install rubygems package | |
apt: pkg=rubygems state=installed | |
- name: MailCatcher | Install MailCatcher | |
action: command gem install mailcatcher creates=/usr/local/bin/mailcatcher | |
- name: MailCatcher | Configure PHP Email | |
command: sed -ir "s/;\?sendmail_path =.*/sendmail_path = \/usr\/bin\/env \/usr\/local\/bin\/catchmail/" /etc/php5/apache2/php.ini | |
command: sed -ir "s/;\?sendmail_path =.*/sendmail_path = \/usr\/bin\/env \/usr\/local\/bin\/catchmail/" /etc/php5/cli/php.ini | |
- name: MailCatcher | Kill MailCatcher | |
command: pkill mailcatcher | |
ignore_errors: yes | |
- name: MailCatcher | Run MailCatcher | |
command: mailcatcher --ip=0.0.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment