Anton Shestakov <av6@dwimlabs.net>, Mon, 04 Apr 2016 08:14:06 +0800
provision: clone early, when directory is clean
contrib/provision/roles/tram-im/tasks/appinstall.yml
Permissions: -rw-r--r--
- 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 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