--- a/contrib/provision/roles/tram-im/tasks/appinstall.yml Tue Mar 29 20:18:50 2016 +0800
+++ b/contrib/provision/roles/tram-im/tasks/appinstall.yml Wed Mar 30 17:43:33 2016 +0800
- name: Download WebRTC adapter
get_url: url=https://webrtc.github.io/adapter/adapter-1.0.4.js dest={{ dir }}/vendor/webrtc-adapter-1.0.4.js
+- name: Pull Tram-IM {{ revision }}
+ hg: repo={{ repo }} dest={{ dir }} revision={{ revision }}
+ when: ansible_virtualization_type != "virtualbox"
--- a/contrib/provision/roles/tram-im/vars/main.yml Tue Mar 29 20:18:50 2016 +0800
+++ b/contrib/provision/roles/tram-im/vars/main.yml Wed Mar 30 17:43:33 2016 +0800
ssl_cert: /etc/ssl/selfsigned/{{ domain }}/selfsigned.pem
ssl_key: /etc/ssl/selfsigned/{{ domain }}/clean.key
+repo: https://bitbucket.org/av6/tram-im