Use repo module.
This commit is contained in:
parent
bd4ad23009
commit
993144c76e
@ -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'
|
||||
become: true
|
Loading…
x
Reference in New Issue
Block a user