2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-23 04:29:02 +00:00

Remove bench dir for new install

This commit is contained in:
Daniel Weipert 2017-05-15 17:45:26 +02:00
parent c21554519f
commit b38ba7f7b5

View File

@ -18,6 +18,12 @@
become: yes
become_user: root
- name: Overwrite bench if required
file:
state: absent
path: "{{ bench_path }}"
when: overwrite
- name: Check whether bench exists
stat: path="{{ bench_path }}"
register: bench_stat