Remove repo before trying to create it.

This commit is contained in:
Hyperling 2021-02-11 20:47:55 -06:00
parent cf098e8c08
commit 4a6a5b3381

View File

@ -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