Download:
child 90:ac596e288f18
parent 88:10b327d1db52
89:ee046c1af5c7
Anton Shestakov <av6@dwimlabs.net>, Mon, 04 Apr 2016 08:14:06 +0800
provision: clone early, when directory is clean

1 файлов изменено, 4 вставок(+), 4 удалений(-) [+]
contrib/provision/roles/tram-im/tasks/appinstall.yml file | annotate | diff | comparison | revisions
--- 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
@@ -2,6 +2,10 @@
- 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
@@ -13,8 +17,4 @@
- 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"
...