diff --git a/tasks/miner/gpu/ethminer.yml b/tasks/miner/gpu/ethminer.yml index 936bfae..dfd4d90 100644 --- a/tasks/miner/gpu/ethminer.yml +++ b/tasks/miner/gpu/ethminer.yml @@ -14,8 +14,10 @@ become: true - name: Ethminer | Add PPA - shell: 'add-apt-repository ppa:ethereum/ethereum; apt update' - become: true + apt_repository: + repo: ppa:ethereum/ethereum + update_cache: yes + state: present - name: Ethminer | Install Ethereum package: @@ -38,17 +40,14 @@ - name: Ethminer | cmake Build shell: 'cd ethminer/build; cmake --build .' +- name: Ethminer | Kill Current Jobs + shell: 'killall ethminer.sh' + become: true + - name: Ethminer | make install shell: 'cd /home/mfn/ethminer/build; make install' become: true - name: Ethminer | Download Script shell: 'scp ling@leet:InstallFiles/Miners/ETH/ethminer.sh /home/mfn/; chmod 755 /home/mfn/ethminer.sh' - become: true - -- name: Ethminer | Kill Current Jobs - shell: 'killall ethminer.sh' - become: true - -- name: Ethminer | Start Mining - shell: 'time ethminer.sh' \ No newline at end of file + become: true \ No newline at end of file