--- a/contrib/provision/roles/tram-im/tasks/appinstall.yml Sun Apr 03 23:38:18 2016 +0800
+++ b/contrib/provision/roles/tram-im/tasks/appinstall.yml Mon Apr 04 08:14:06 2016 +0800
- name: Make sure project directory exists
file: path={{ dir }} state=directory
+- name: Pull Tram-IM {{ revision }}
+ hg: repo={{ repo }} dest={{ dir }} revision={{ revision }}
+ when: ansible_virtualization_type != "virtualbox"
- name: Make sure vendor directory exists
file: path={{ dir }}/vendor state=directory
- 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"