Use repo module.
This commit is contained in:
parent
bd4ad23009
commit
993144c76e
@ -14,8 +14,10 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Ethminer | Add PPA
|
- name: Ethminer | Add PPA
|
||||||
shell: 'add-apt-repository ppa:ethereum/ethereum; apt update'
|
apt_repository:
|
||||||
become: true
|
repo: ppa:ethereum/ethereum
|
||||||
|
update_cache: yes
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Ethminer | Install Ethereum
|
- name: Ethminer | Install Ethereum
|
||||||
package:
|
package:
|
||||||
@ -38,17 +40,14 @@
|
|||||||
- name: Ethminer | cmake Build
|
- name: Ethminer | cmake Build
|
||||||
shell: 'cd ethminer/build; cmake --build .'
|
shell: 'cd ethminer/build; cmake --build .'
|
||||||
|
|
||||||
|
- name: Ethminer | Kill Current Jobs
|
||||||
|
shell: 'killall ethminer.sh'
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: Ethminer | make install
|
- name: Ethminer | make install
|
||||||
shell: 'cd /home/mfn/ethminer/build; make install'
|
shell: 'cd /home/mfn/ethminer/build; make install'
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Ethminer | Download Script
|
- name: Ethminer | Download Script
|
||||||
shell: 'scp ling@leet:InstallFiles/Miners/ETH/ethminer.sh /home/mfn/; chmod 755 /home/mfn/ethminer.sh'
|
shell: 'scp ling@leet:InstallFiles/Miners/ETH/ethminer.sh /home/mfn/; chmod 755 /home/mfn/ethminer.sh'
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Ethminer | Kill Current Jobs
|
|
||||||
shell: 'killall ethminer.sh'
|
|
||||||
become: true
|
|
||||||
|
|
||||||
- name: Ethminer | Start Mining
|
|
||||||
shell: 'time ethminer.sh'
|
|
Loading…
x
Reference in New Issue
Block a user