89:ee046c1af5c7
Anton Shestakov <av6@dwimlabs.net>, Mon, 04 Apr 2016 08:14:06 +0800
provision: clone early, when directory is clean

next change 211:4b03f725cb69
previous change 71:fc18ae0e2cd1

contrib/provision/roles/tram-im/tasks/appinstall.yml

Permissions: -rw-r--r--

Other formats: Feeds:
---
- 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: Clone Strophe.js
git: repo=https://github.com/strophe/strophejs.git dest={{ dir }}/vendor/strophejs
- name: Clone Strophe.js plugins
git: repo=https://github.com/strophe/strophejs-plugins.git dest={{ dir }}/vendor/strophejs-plugins
- 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
...