Remove repo before trying to create it.
This commit is contained in:
parent
cf098e8c08
commit
4a6a5b3381
@ -33,6 +33,11 @@
|
|||||||
|
|
||||||
|
|
||||||
## Download ##
|
## Download ##
|
||||||
|
- name: Ethminer | Remove Git Repo
|
||||||
|
shell: 'cd /root/Downloads; rm -rf ethminer'
|
||||||
|
ignore_errors: yes
|
||||||
|
when: ethminer_install.failed
|
||||||
|
|
||||||
- name: Ethminer | Clone Git Repo
|
- name: Ethminer | Clone Git Repo
|
||||||
shell: 'cd /root/Downloads; git clone https://github.com/ethereum-mining/ethminer.git'
|
shell: 'cd /root/Downloads; git clone https://github.com/ethereum-mining/ethminer.git'
|
||||||
when: ethminer_install.failed
|
when: ethminer_install.failed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user