Skip to content

Instantly share code, notes, and snippets.

@howie
Last active June 3, 2017 12:48
Show Gist options
  • Save howie/8134f05a976794235f27844f36eecf6c to your computer and use it in GitHub Desktop.
Save howie/8134f05a976794235f27844f36eecf6c to your computer and use it in GitHub Desktop.
- name: Ubuntu - update
apt: state=latest name='*'
when: apt_update is defined
- name: Ubuntu - Install htop
apt: name=htop state=latest
- name: Ubuntu - Install vim
apt: name=vim state=latest
- name: Ubuntu - Install ntp
apt: name=ntp state=present
- name: Ubuntu - Install libselinux-python
apt: name=python-selinux state=latest
- name: Ubuntu - Install bash-completion
apt: name=bash-completion state=latest
- name: download cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
get_url:
url: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
dest: /tmp/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
mode: 0440
tags:
- gpu
- name: Install nvidia-driver-local-repo-ubuntu1604_375.51-1_amd64.deb package from the internet.
apt:
deb: http://us.download.nvidia.com/tesla/375.51/nvidia-driver-local-repo-ubuntu1604_375.51-1_amd64.deb
tags:
- gpu
- name: Install cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
apt:
deb: /tmp/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
tags:
- gpu
- name: Install minergate-cli
apt:
deb: https://minergate.com/download/deb-cli
- name: Ubuntu - Install cuda-drivers
apt:
name: cuda-drivers
state: latest
update_cache: yes
tags:
- gpu
- name: Ubuntu - Install cuda
apt:
name: cuda
state: latest
tags:
- gpu
- name: Update all packages to the latest version
apt:
upgrade: dist
- name: Ubuntu - Install software-properties-common gcc make
apt: name=software-properties-common,gcc,make state=latest
- apt_repository:
repo: 'ppa:ethereum/ethereum'
- name: Update repositories cache and install "ethereum ethminer geth build-essential" package
apt:
name: ethereum,ethminer,geth,build-essential
update_cache: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment