2014-11-18 08:24:39 -05:00
|
|
|
---
|
|
|
|
- hosts: all
|
2014-11-19 19:20:27 -05:00
|
|
|
vars:
|
|
|
|
web_server_home: /srv/www
|
|
|
|
email_server_venv: "{{ web_server_home }}/mail_server"
|
2014-11-18 08:24:39 -05:00
|
|
|
tasks:
|
|
|
|
|
2014-11-19 19:20:27 -05:00
|
|
|
- name: PIP install mailsink test server into target virtualenv
|
|
|
|
pip: name=mailsink virtualenv={{ email_server_venv }} version=0.0.2
|
|
|
|
|
|
|
|
# - name: Launches the fake SMTP email daemon
|
|
|
|
# command: "{{ email_server_venv }}/bin/mailsinkd -w {{ email_web_server_port }} -s {{ email_server_port }}"
|