diff options
author | Christian Franke <nobody@nowhere.ws> | 2015-08-25 19:23:43 +0200 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2015-08-25 19:23:43 +0200 |
commit | af66612e6014bea48458125cda72d73c51bc3c20 (patch) | |
tree | 49cee76d579149a9fd800225303ee31be79cf3eb /roles/subdap/tasks/as_subdap.yaml |
Initial commit
Diffstat (limited to 'roles/subdap/tasks/as_subdap.yaml')
-rw-r--r-- | roles/subdap/tasks/as_subdap.yaml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/roles/subdap/tasks/as_subdap.yaml b/roles/subdap/tasks/as_subdap.yaml new file mode 100644 index 0000000..f0b9073 --- /dev/null +++ b/roles/subdap/tasks/as_subdap.yaml @@ -0,0 +1,23 @@ +--- +- name: Clone subdap code + git: + dest=/var/subdap/src + repo=git://git.sublab.org/subdap + accept_hostkey=yes + +- name: Setup virtualenv for subdap + pip: + name={{ item }} + virtualenv=/var/subdap/venv + virtualenv_site_packages=yes + with_items: + - cherrypy + - egenix-mx-base + - genshi + - gunicorn + +- name: Create accountservice.py + template: + dest=/var/subdap/src/accountservice.py + src=accountservice.py.j2 + mode=0600 |